package
Version:
v2.16.0
Opens a new window with list of versions in this module.
Published: Aug 21, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
New creates a new logger.
Mode changes the logging format.
const (
JSONMode Mode = "json"
ConsoleMode Mode = "console"
)
Option is the option to use to configure the logger.
WithLevel is an option to configure the logging level.
WithWriter is an option to configure the logging output.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.