# Packages
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
ContextWithValue 基于父context,创建一个带 trace_id 的上下文,受父context生命周期影响,非必要不使用.
No description provided by the author
No description provided by the author
FileAttr 使用文件输出日志的配置.
No description provided by the author
NATSAttr 使用NATS输出日志的配置.
No description provided by the author
NewTraceContext 创建一个新的trace context.
NewTraceContextWithID 创建一个新的trace context, 使用自定义traceID.
NewTraceID 生成一个新的 trace_id.
TraceIDFromContext 从上下文中获取 trace_id.
No description provided by the author
# Constants
No description provided by the author
Names for common levels.
Names for common levels.
Names for common levels.
Names for common levels.
No description provided by the author
No description provided by the author
# Interfaces
A Leveler provides a [Level] value.