Documentation
¶
Overview ¶
Package log provides structured logging utilities for the application. It wraps the go-logging library with convenient helper functions.
Index ¶
- Constants
- func Critical(v ...interface{})
- func Debug(v ...interface{})
- func Dump(v ...interface{})
- func Error(v ...interface{})
- func Fatal(v ...interface{})
- func GetLogger() *logging.Logger
- func Info(v ...interface{})
- func Notice(v ...interface{})
- func Panic(v ...interface{})
- func Println(v ...interface{})
- func SetLevel(l int)
- func Warning(v ...interface{})
Constants ¶
View Source
const (
DEFAULT_DEBUG_LEVEL = 5
)
DEFAULT_DEBUG_LEVEL is the default logging verbosity level.
Variables ¶
This section is empty.
Functions ¶
func Fatal ¶
func Fatal(v ...interface{})
Fatal logs a fatal-level message and exits the application.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.