diff --git a/Objective-C/CBLLog.mm b/Objective-C/CBLLog.mm index 523e3f5af..c40632037 100644 --- a/Objective-C/CBLLog.mm +++ b/Objective-C/CBLLog.mm @@ -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