mirror of
https://github.com/apple/swift-log
synced 2026-11-26 04:07:49 +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
@@ -10,7 +10,7 @@ enum ConfigExample {
|
||||
static func main() {
|
||||
// boostrap with our config based sample implementations
|
||||
let config = Config(defaultLogLevel: .info)
|
||||
Logging.bootstrap({ ConfigLogHandler(label: $0, config: config) })
|
||||
LoggingSystem.bootstrap({ ConfigLogHandler(label: $0, config: config) })
|
||||
// run the example
|
||||
let logger = Logger(label: "com.example.TestApp")
|
||||
logger.trace("hello world?")
|
||||
|
||||
Reference in new issue
Block a user