Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Swift/Log.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@
import Foundation
import CouchbaseLiteSwift_Private

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