Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureDefault ¶
ConfigureDefault installs the daemon JSON logger as the global slog and log logger.
func NewHandler ¶
func NewHandler(stdout, stderr io.Writer, opts *slog.HandlerOptions, identity Identity) slog.Handler
NewHandler returns a slog handler that writes daemon JSON lines to stdout/stderr.
Types ¶
Click to show internal directories.
Click to hide internal directories.