We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acc2e56 commit 43e28bcCopy full SHA for 43e28bc
Sources/OSLogLogger.swift
@@ -161,7 +161,7 @@ private extension OSLogLogger {
161
Merge the logger’s metadata, the provider’s metadata and the given explicit metadata and return the new metadata.
162
If the provider’s metadata and the explicit metadata are `nil`, returns `nil` to signify the current `flatMetadataCache` can be used. */
163
func mergedMetadata(with explicit: Logging.Logger.Metadata?) -> Logging.Logger.Metadata? {
164
- var metadata = metadata
+ var metadata = self.metadata
165
let provided = metadataProvider?.get() ?? [:]
166
167
guard !provided.isEmpty || !((explicit ?? [:]).isEmpty) else {
0 commit comments