Skip to content

Commit

Permalink
Fix method signature
Browse files Browse the repository at this point in the history
  • Loading branch information
backslash-f committed Aug 28, 2024
1 parent 2d83651 commit 2280678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/AppLogger/AppLogger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public extension AppLogger {
/// - message: The `String` to be logged.
/// - isPrivate: Sets the `OSLogPrivacy` to be used by the function. `true` means `.private`;
/// `false` means `.public`. The default is `false`.
func log(level: OSLogType = .debug, message: String, isPrivate: Bool = Defaults.isPrivate) {
func log(level: OSLogType = .debug, _ message: String, isPrivate: Bool = Defaults.isPrivate) {
if isPrivate {
logger.log(level: level, "\(message, privacy: .private)")
} else {
Expand Down

0 comments on commit 2280678

Please sign in to comment.