package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Feb 5, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
¶
func Debug(format string, v ...interface{})
func Error(format string, v ...interface{})
func Fatal(format string, v ...interface{})
func Info(format string, v ...interface{})
func Warn(format string, v ...interface{})
type LogConfig struct {
Path string `json:"path" yaml:"path"`
Level string `json:"level" yaml:"level"`
MaxSize int `json:"max_size" yaml:"max_size"`
MaxBackup int `json:"max_backup" yaml:"max_backup"`
}
const (
LevelError LogLevel = iota
LevelWarn
LevelInfo
LevelDebug
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.