mirror of
https://github.com/apple/swift-log
synced 2026-11-27 04:14:20 +00:00
Multiple proposal improvements to the API (#41)
* Move `Logging.make` to a `Logger` initializer. * Remove all factory initializers in example and test code.
This commit is contained in:
1 parent
03174f3260
commit
2474d61a80
19 files changed
+336
-376
No files matched your search
@@ -9,7 +9,7 @@ import Logging
|
||||
// this library does not know anything about the systewm that used it, so cannot make
|
||||
// assumptions about them
|
||||
class RandomLibrary {
|
||||
private let logger = Logging.make("RandomLibrary")
|
||||
private let logger = Logger(label: "RandomLibrary")
|
||||
private let queue = DispatchQueue(label: "RandomLibrary")
|
||||
|
||||
public init() {}
|
||||
|
||||
Reference in new issue
Block a user