make logger metadata non-optional (#15)

motivation: simpler / cleaner API

changes: change logger Metadata API to be non-nullable, since the original motivation is no longer valid
This commit is contained in:
tomer doron authored and Johannes Weiss committed 2019-01-08 21:11:12 +00:00
1 parent 19d987b6d5
commit 5ca706eb48
7 files changed
+47 -50

No files matched your search

@@ -35,7 +35,7 @@ public final class SimpleLogging {
set { self.logger.logLevel = newValue }
}
public var metadata: Logging.Metadata? {
public var metadata: Logging.Metadata {
get { return self.logger.metadata }
set { self.logger.metadata = newValue }
}