Skip to content

Commit df96e49

Browse files
authored
Expose Log.log for RN testing (#3475)
1 parent a14150b commit df96e49

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Swift/Log.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@
2020
import Foundation
2121
import CouchbaseLiteSwift_Private
2222

23-
internal class Log {
23+
public final class Log {
2424
/// Writes a log message to all the enabled log sinks.
25-
internal static func log(domain: LogDomain, level: LogLevel, message: String) {
25+
/// - Note: `Unsupported API` Internal used for testing purpose.
26+
public static func log(domain: LogDomain, level: LogLevel, message: String) {
2627
let cDomain = CBLLogDomain.init(rawValue: domain.rawValue)
2728
let cLevel = CBLLogLevel(rawValue: UInt(level.rawValue))!
2829
CBLLog.writeSwiftLog(cDomain, level: cLevel, message: message)

0 commit comments

Comments
 (0)