Skip to content

Commit bcdfe28

Browse files
authored
CBL-7613: Make note internal API on public Log.log (#3476)
* change for consistency - will be used for tests in other platforms that integrate on Swift
1 parent 5df3caa commit bcdfe28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Swift/Log.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ public class Log {
5353

5454
init() { }
5555

56-
// For Unit Tests
57-
58-
static func log(domain: LogDomain, level: LogLevel, message: String) {
56+
/// Writes a log message to all the enabled log sinks.
57+
/// - Note: `Unsupported API` Internal used for testing purpose.
58+
public static func log(domain: LogDomain, level: LogLevel, message: String) {
5959
let cDomain = CBLLogDomain.init(rawValue: UInt(domain.rawValue))
6060
let cLevel = CBLLogLevel(rawValue: UInt(level.rawValue))!
6161
CBLDatabase.log().log(to: cDomain, level: cLevel, message: message)

0 commit comments

Comments
 (0)