Documentation
¶
Index ¶
- Constants
- func CloseLogger()
- func Debug(msg string, param ...any)
- func Error(msg string, param ...any)
- func GetLogLevel() int
- func Info(msg string, param ...any)
- func InitLogger(appName, logLevel string)
- func ParseLevel(level string) int
- func Stack() string
- func StackAll() string
- func Warn(msg string, param ...any)
- type Config
- type LogFlag
- type LogInfo
- type Logger
Constants ¶
View Source
const ( DEBUG = iota INFO WARN ERROR )
Variables ¶
This section is empty.
Functions ¶
func CloseLogger ¶
func CloseLogger()
func GetLogLevel ¶
func GetLogLevel() int
func InitLogger ¶
func InitLogger(appName, logLevel string)
func ParseLevel ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.