Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllFormatsJoined ¶
func AllFormatsJoined() string
AllFormatsJoined returns all formats joined by "|"
func AllLevelsJoined ¶
func AllLevelsJoined() string
AllLevelsJoined returns all levels joined by "|"
func ParseLevel ¶
ParseLevel converts a log level to a slog level
Types ¶
type Format ¶
type Format string
const ( FormatPlain Format = "plain" FormatJSON Format = "json" DefaultFormat = FormatPlain )
Click to show internal directories.
Click to hide internal directories.