package
Version:
v0.33.1
Opens a new window with list of versions in this module.
Published: Feb 22, 2026
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
¶
New returns a new logger.
If file is set, logs are written to that file in console format.
If file is empty, logs are written to stdout in JSON format.
The level parameter can be one of: debug, info, warn, error, fatal.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.