Documentation ¶
Overview ¶
Package ilog contains logging helper.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Err ¶
Err formats an error into an slog.Attr with Key 'Error'. This only unifies the most common key for errors to use the same constant.
func NewLogHandler ¶
NewLogHandler creates a new LogHandler. Only log messages with log level l or higher will get written to the writer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.