mirror of
https://github.com/apple/swift-log
synced 2026-11-25 03:57:48 +00:00
Make SwiftLogNoOpLogHandler.init() public
This commit is contained in:
1 parent
57c6bd0425
commit
173f567a2d
1 file changed
+2
@@ -733,6 +733,8 @@ public struct StreamLogHandler: LogHandler {
|
||||
|
||||
/// No operation LogHandler, used when no logging is required
|
||||
public struct SwiftLogNoOpLogHandler: LogHandler {
|
||||
public init() {}
|
||||
|
||||
@inlinable public func log(level: Logger.Level, message: Logger.Message, metadata: Logger.Metadata?, file: String, function: String, line: UInt) {}
|
||||
|
||||
@inlinable public subscript(metadataKey _: String) -> Logger.Metadata.Value? {
|
||||
|
||||
Reference in new issue
Block a user