summaryrefslogtreecommitdiffhomepage
path: root/ios
diff options
context:
space:
mode:
Diffstat (limited to 'ios')
-rw-r--r--ios/MullvadLogging/Logging.swift2
1 files changed, 2 insertions, 0 deletions
diff --git a/ios/MullvadLogging/Logging.swift b/ios/MullvadLogging/Logging.swift
index be5c46b08b..c56daeed52 100644
--- a/ios/MullvadLogging/Logging.swift
+++ b/ios/MullvadLogging/Logging.swift
@@ -25,6 +25,7 @@ public struct LoggerBuilder {
private var outputs: [LoggerOutput] = []
public var metadata: Logger.Metadata = [:]
+ public var logLevel: Logger.Level = .debug
public init() {}
@@ -75,6 +76,7 @@ public struct LoggerBuilder {
} else {
var multiplex = MultiplexLogHandler(logHandlers)
multiplex.metadata = metadata
+ multiplex.logLevel = logLevel
return multiplex
}
}