package
Version:
v0.24.2
Opens a new window with list of versions in this module.
Published: Apr 1, 2024
License: BSD-2-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func SetLevel(level Level)
SetLevel updates the global log level to the provided level if it is valid.
Level represents log levels.
const (
Off Level = iota
Fatal
Error
Warn
Info
Audit
Debug
Trace
)
Define log levels as constants.
GetLevel retrieves the current global log level.
Source Files
¶
Directories
¶
|
|
Package std provides a simple and flexible logging library with various log levels.
|
Package std provides a simple and flexible logging library with various log levels. |
Click to show internal directories.
Click to hide internal directories.