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
3 changes: 3 additions & 0 deletions Swift/Log.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,16 @@ import CouchbaseLiteSwift_Private
public class Log {

/// Console logger writing log messages to the system console.
@available(*, deprecated, message: "Use LogSinks.console instead.")
public let console = ConsoleLogger()

/// File logger writing log messages to files.
@available(*, deprecated, message: "Use LogSinks.file instead.")
public let file = FileLogger()

/// For setting a custom logger. Changing the log level of the assigned custom logger will
/// require the custom logger to be reassigned so that the change can be affected.
@available(*, deprecated, message: "Use LogSinks.custom instead.")
public var custom: Logger? {
didSet {
if let logger = custom {
Expand Down
Loading