Discover Packages
github.com/johnlindquist/gmkit
internal
logging
package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Jul 5, 2026
License: AGPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package logging configures zerolog for both human-readable terminal output
and JSON output, switchable by flag.
Default builds a logger writing to stderr with sensible defaults.
New returns a zerolog logger writing to w with the given level. If jsonOut
is true the writer receives line-delimited JSON; otherwise it receives the
human-friendly console format.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.