We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5df3caa commit bcdfe28Copy full SHA for bcdfe28
Swift/Log.swift
@@ -53,9 +53,9 @@ public class Log {
53
54
init() { }
55
56
- // For Unit Tests
57
-
58
- 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) {
59
let cDomain = CBLLogDomain.init(rawValue: UInt(domain.rawValue))
60
let cLevel = CBLLogLevel(rawValue: UInt(level.rawValue))!
61
CBLDatabase.log().log(to: cDomain, level: cLevel, message: message)
0 commit comments