Documentation
¶
Overview ¶
Package logger provides thread-safe logging capabilities with different severity levels.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger provides thread-safe logging capabilities with different severity levels
func GetLogger ¶
func GetLogger() *Logger
GetLogger returns a singleton instance of the Logger It initializes the logger on first call using sync.Once
Click to show internal directories.
Click to hide internal directories.