//
pkg.gl
Category
github.com/github/gh-skyline
logger
package
0.1.3
Repository:
https://github.com/github/gh-skyline.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
2
Files
79 SLOC
#
Functions
GetLogger
GetLogger returns a singleton instance of the Logger It initializes the logger on first call using sync.Once.
#
Constants
DEBUG
Log levels ordered by increasing severity.
ERROR
Log levels ordered by increasing severity.
INFO
Log levels ordered by increasing severity.
WARNING
Log levels ordered by increasing severity.
#
Structs
Logger
Logger provides thread-safe logging capabilities with different severity levels.
#
Type aliases
LogLevel
LogLevel represents the severity level of a log message.