diff --git a/Swift/Log.swift b/Swift/Log.swift index 7fa208e9e..4a9773439 100644 --- a/Swift/Log.swift +++ b/Swift/Log.swift @@ -53,9 +53,9 @@ public class Log { init() { } - // For Unit Tests - - static func log(domain: LogDomain, level: LogLevel, message: String) { + /// Writes a log message to all the enabled log sinks. + /// - Note: `Unsupported API` Internal used for testing purpose. + public static func log(domain: LogDomain, level: LogLevel, message: String) { let cDomain = CBLLogDomain.init(rawValue: UInt(domain.rawValue)) let cLevel = CBLLogLevel(rawValue: UInt(level.rawValue))! CBLDatabase.log().log(to: cDomain, level: cLevel, message: message)