mirror of
https://github.com/apple/swift-log
synced 2026-11-27 04:14:20 +00:00
rename Logging to LoggingSystem (#49)
This commit is contained in:
1 parent
aa3990dfa0
commit
45c6d10678
10 files changed
+22
-22
No files matched your search
@@ -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!")
|
||||
|
||||
Reference in new issue
Block a user