Skip to content

Commit

Permalink
fix permission issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fatbobman committed Oct 28, 2024
1 parent 08c70ad commit 475edf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/SimpleLogger/LoggerManagerProtocol.swift
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ extension LoggerManagerProtocol where Self == LoggerManager {
/// - Parameters:
/// - subsystem: The subsystem name.
/// - category: The category name.
static func `default`(subsystem: String, category: String) -> Self {
public static func `default`(subsystem: String, category: String) -> Self {
LoggerManager(backend: OSLogBackend(subsystem: subsystem, category: category))
}

/// Creates a `LoggerManager` instance that logs to the console.
///
/// - Parameters:
/// - subsystem: The subsystem name.
static func console(subsystem: String = "Console Logger") -> Self {
public static func console(subsystem: String = "Console Logger") -> Self {
LoggerManager(backend: ConsoleLogBackend(subsystem: subsystem))
}
}

0 comments on commit 475edf2

Please sign in to comment.