summaryrefslogtreecommitdiffhomepage
path: root/ios/MullvadLogging/CustomFormatLogHandler.swift
diff options
context:
space:
mode:
authorBug Magnet <marco.nikic@mullvad.net>2023-08-30 11:46:55 +0200
committerBug Magnet <marco.nikic@mullvad.net>2023-08-30 11:46:55 +0200
commit0323fe99d2afa2f93a5d888b8a6387d0e2e54ef6 (patch)
treee00e2c549c2c9afef0741d6dd6ea8725d28bf35e /ios/MullvadLogging/CustomFormatLogHandler.swift
parent9ac934e6886d20d7f7a72bf85bbde9d1b5901976 (diff)
downloadmullvadvpn-0323fe99d2afa2f93a5d888b8a6387d0e2e54ef6.tar.xz
mullvadvpn-0323fe99d2afa2f93a5d888b8a6387d0e2e54ef6.zip
Use swiftlint auto fix for trivial lint violations
Diffstat (limited to 'ios/MullvadLogging/CustomFormatLogHandler.swift')
-rw-r--r--ios/MullvadLogging/CustomFormatLogHandler.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/MullvadLogging/CustomFormatLogHandler.swift b/ios/MullvadLogging/CustomFormatLogHandler.swift
index 3ed4fe24cb..fefb8260ce 100644
--- a/ios/MullvadLogging/CustomFormatLogHandler.swift
+++ b/ios/MullvadLogging/CustomFormatLogHandler.swift
@@ -48,7 +48,7 @@ public struct CustomFormatLogHandler: LogHandler {
line: UInt
) {
let mergedMetadata = self.metadata
- .merging(metadata ?? [:]) { lhs, rhs -> Logger.MetadataValue in
+ .merging(metadata ?? [:]) { _, rhs -> Logger.MetadataValue in
rhs
}
let prettyMetadata = Self.formatMetadata(mergedMetadata)