mirror of
https://github.com/apple/swift-log
synced 2026-11-24 03:47:49 +00:00
Expands on @kukushechkin #474 (add-missing API) and tacks in some additional work ### Motivation: resolve the DocC warnings ### Modifications: - resolves docc warnings for soundness checks - updates curation to drop the task-local logger updates into the correct areas - updates curation to collect the implemented proposals together ### Result: Hopefully no issues with soundness checks --------- Co-authored-by: Vladimir Kukushkin <kukushechkin@apple.com>
2.2 KiB
2.2 KiB
Logging/Logger
Topics
Creating Loggers
init(label:)init(label:metadataProvider:)init(label:factory:)-9uiy2init(label:factory:)-6iktuMetadataProvider
Task-local logger
currentwithLogger(_:_:)-3dt06withLogger(_:_:)-70nliwithLogger(mergingMetadata:_:)-2c7dywithLogger(mergingMetadata:_:)-3eduowithLogger(logLevel:handler:metadata:_:)-2pd9pwithLogger(logLevel:handler:metadata:_:)-5nmw6
Sending trace log messages
trace(_:metadata:file:function:line:)trace(_:metadata:source:file:function:line:)trace(_:error:metadata:source:file:function:line:)
Sending debug log messages
debug(_:metadata:file:function:line:)debug(_:metadata:source:file:function:line:)debug(_:error:metadata:source:file:function:line:)
Sending info log messages
info(_:metadata:file:function:line:)info(_:metadata:source:file:function:line:)info(_:error:metadata:source:file:function:line:)
Sending notice log messages
notice(_:metadata:file:function:line:)notice(_:metadata:source:file:function:line:)notice(_:error:metadata:source:file:function:line:)
Sending warning log messages
warning(_:metadata:file:function:line:)warning(_:metadata:source:file:function:line:)warning(_:error:metadata:source:file:function:line:)
Sending error log messages
error(_:metadata:file:function:line:)error(_:metadata:source:file:function:line:)error(_:error:metadata:source:file:function:line:)
Sending critical log messages
critical(_:metadata:file:function:line:)critical(_:metadata:source:file:function:line:)critical(_:error:metadata:source:file:function:line:)
Sending general log messages
log(level:_:metadata:file:function:line:)log(level:_:metadata:source:file:function:line:)log(level:_:error:metadata:source:file:function:line:)LevelMessageMetadata
Adjusting logger metadata
subscript(metadataKey:)MetadataValue
Metadata attribute types
MetadataValueAttributes
Inspecting a logger
labellogLevelhandlermetadataProvider