Skip to content

Commit 9de6703

Browse files
committed
Added testing comments.
1 parent 3eca9a6 commit 9de6703

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/swift-log-fileTests/swift_log_fileTests.swift

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ final class swift_log_fileTests: XCTestCase {
1414
let logFileURL = try getDocumentsDirectory().appendingPathComponent(logFileName)
1515
print("\(logFileURL)")
1616
let logFileHandler = try FileLogHandler(label: "Foobar", localFile: logFileURL)
17+
// Using `bootstrapInternal` so that running `swift test` won't fail. If using this in production code, just use `bootstrap`.
1718
LoggingSystem.bootstrapInternal(logFileHandler.handler)
1819

1920
let logger = Logger(label: "Test")
@@ -26,6 +27,7 @@ final class swift_log_fileTests: XCTestCase {
2627
let logFileURL = try getDocumentsDirectory().appendingPathComponent(logFileName)
2728
print("\(logFileURL)")
2829
let logFileHandler = try FileLogHandler(label: "Foobar", localFile: logFileURL)
30+
// Using `bootstrapInternal` so that running `swift test` won't fail. If using this in production code, just use `bootstrap`.
2931
LoggingSystem.bootstrapInternal(logFileHandler.handler)
3032
let logger = Logger(label: "Test")
3133

0 commit comments

Comments
 (0)