package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Dec 18, 2023
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Attr parses log args and returns a either a single log attribute or unnamed group.
Context returns a copy of parent context with attached log args.
InitLogging initializes default slog logger instance
with info log level and stderr as a log output.
type LogOption func(c *logConfig)
WithLevel sets default logger log level.
WithOutput sets default logger log output.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.