Skip to content

Commit

Permalink
plus 1
Browse files Browse the repository at this point in the history
  • Loading branch information
velicuvlad committed Oct 22, 2024
1 parent 96a48a5 commit 04526ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Objective-C/CBLLog.mm
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ - (instancetype) initWithDefault {
C4LogDomain domain = c4log_getDomain(domainName, true);
C4LogLevel level = string2level(defaults[key]);
c4log_setLevel(domain, level);
os_log(oslogger, "CouchbaseLite logging to %s domain at level %s", domainName, kLevelNames[level]);
NSString* message = [NSString stringWithFormat: @"CouchbaseLite logging to %s domain at level %s", domainName, kLevelNames[level]];
[CBLConsoleLogger logAlways: message];
}
}
#endif
Expand Down

0 comments on commit 04526ca

Please sign in to comment.