-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from Headbright/v2-swift-concurrency
Upgrade tooling to Swift 5.10 and enable StrictConcurrency
- Loading branch information
Showing
3 changed files
with
17 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
import Foundation | ||
import OSLog | ||
|
||
var loggerMain = Logger(subsystem: "eu.headbright.fbb.lib", category: "main") | ||
var loggerRequest = Logger(subsystem: "eu.headbright.fbb.lib", category: "request") | ||
var loggerResponse = Logger(subsystem: "eu.headbright.fbb.lib", category: "response") | ||
#if swift(>=6.0) | ||
#warning("Reevaluate whether this decoration is necessary.") | ||
#endif | ||
|
||
nonisolated(unsafe) let loggerMain = Logger( | ||
subsystem: "eu.headbright.fbb.lib", category: "main") | ||
nonisolated(unsafe) let loggerRequest = Logger( | ||
subsystem: "eu.headbright.fbb.lib", category: "request") | ||
nonisolated(unsafe) let loggerResponse = Logger( | ||
subsystem: "eu.headbright.fbb.lib", category: "response") |