package
Version:
v1.4.7
Opens a new window with list of versions in this module.
Published: Nov 12, 2025
License: BSD-3-Clause
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.
README
¶
Logging
We provide a preconfigured logging service (golog).
logger := logging.New(env.New())
The log level can be configured using the LOG_LEVEL env variable. Default level is info.
Possible values:
debug
info (this is the default / fallback level)
warn
error
fatal
The log format can be configured using the LOG_FORMAT env variable. Default is console.
Possible values:
console (this is the default / fallback format)
json
Documentation
¶
View Source
var (
LOG_LEVEL = "LOG_LEVEL"
LOG_FORMAT = "LOG_FORMAT"
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.