Documentation
¶
Overview ¶
Package slog renders pry records through a log/slog handler.
A JSONHandler writes time/msg/INFO where pry/zerolog writes time-or-@timestamp/message/info, so a pipeline keyed on the zerolog spelling needs HandlerOptions.ReplaceAttr. See the README.
Index ¶
Constants ¶
View Source
const LevelTrace = slog.LevelDebug - 4
slog's scale starts at Debug, so trace is an ordinary int below it.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.