From ca1ef3ad753c1c1c4be6afe0ed5c9856055cd037 Mon Sep 17 00:00:00 2001 From: Vlad Velicu Date: Thu, 4 Sep 2025 17:18:52 +0100 Subject: [PATCH] Deprecate old logging API --- Swift/Log.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Swift/Log.swift b/Swift/Log.swift index a6ea6ace8..747e5a33e 100644 --- a/Swift/Log.swift +++ b/Swift/Log.swift @@ -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 {