change example loggers to structs (#29)

motivation: encourage use of immutable loggers

changes: change example loggers to structs
This commit is contained in:
tomer doron authored and Johannes Weiss committed 2019-01-17 18:10:54 +00:00
1 parent 0bf0588b17
commit 1d983153b4
5 files changed
+5 -5

No files matched your search

@@ -6,7 +6,7 @@ import Foundation
import Logging
// this is a contrived example of a logging library implementation that writes logs to stdout
public final class SimpleLogging {
public struct SimpleLogging {
private let defaultLogLevel = Logging.Level.info
public init() {}