rename Logging to LoggingSystem (#49)

This commit is contained in:
Johannes Weiss authored and GitHub committed 2019-02-22 13:38:22 +00:00
1 parent aa3990dfa0
commit 45c6d10678
10 files changed
+22 -22

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ import Logging
enum MultiplexExample {
static func main() {
// boostrap with two of our sample implementations
Logging.bootstrap({ MultiplexLogHandler([SimpleLogHandler(label: $0), FileLogHandler(label: $0)]) })
LoggingSystem.bootstrap({ MultiplexLogHandler([SimpleLogHandler(label: $0), FileLogHandler(label: $0)]) })
// run the example
let logger = Logger(label: "com.example.TestApp")
logger.info("hello world!")