Documentation
¶
Overview ¶
Package log provides utilities for using log/slog with hqtt.
Index ¶
Constants ¶
View Source
const ( ComponentKey = "component" ErrorKey = "error" )
Variables ¶
This section is empty.
Functions ¶
func ForComponent ¶
ForComponent constructs a slog.Logger for the specified component (which is stored in an attribute with the key ComponentKey).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.