mirror of
https://github.com/apple/swift-log
synced 2026-11-26 04:07:49 +00:00
Delete trailing whitespaces. (#26)
This commit is contained in:
1 parent
870e880fc4
commit
d81e7db5f7
5 files changed
+3
-7
No files matched your search
@@ -32,4 +32,3 @@ extension GlobalLoggerTest {
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,4 +31,3 @@ extension LocalLoggerTest {
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,4 +43,3 @@ extension LoggingTest {
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ class LoggingTest: XCTestCase {
|
||||
// bootstrap with our test logging impl
|
||||
let logging = TestLogging()
|
||||
LoggingSystem.bootstrapInternal(logging.make)
|
||||
|
||||
|
||||
var logger = Logger(label: "test")
|
||||
logger.logLevel = .info
|
||||
logger.log(level: .debug, {
|
||||
@@ -75,7 +75,7 @@ class LoggingTest: XCTestCase {
|
||||
func testDictionaryMetadata() {
|
||||
let testLogging = TestLogging()
|
||||
LoggingSystem.bootstrapInternal(testLogging.make)
|
||||
|
||||
|
||||
var logger = Logger(label: "\(#function)")
|
||||
logger[metadataKey: "foo"] = ["bar": "buz"]
|
||||
logger[metadataKey: "empty-dict"] = [:]
|
||||
@@ -91,7 +91,7 @@ class LoggingTest: XCTestCase {
|
||||
func testListMetadata() {
|
||||
let testLogging = TestLogging()
|
||||
LoggingSystem.bootstrapInternal(testLogging.make)
|
||||
|
||||
|
||||
var logger = Logger(label: "\(#function)")
|
||||
logger[metadataKey: "foo"] = ["bar", "buz"]
|
||||
logger[metadataKey: "empty-list"] = []
|
||||
|
||||
@@ -30,4 +30,3 @@ extension MDCTest {
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user