package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Aug 3, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Debug(args ...interface{})
func Debugf(format string, args ...interface{})
func Error(args ...interface{})
func Errorf(format string, args ...interface{})
func Fatal(args ...interface{})
func Fatalf(format string, args ...interface{})
func Info(args ...interface{})
func Infof(format string, args ...interface{})
func Warning(args ...interface{})
func Warningf(format string, args ...interface{})
type Config struct {
FileSize int `toml:"filesize" json:"filesize"`
FileNum int `toml:"filenum" json:"filenum"`
FileName string `toml:"filename" json:"filename"`
Level string `toml:"level" json:"level"`
Debug bool `toml:"debug" json:"debug"`
Dir string `toml:"dir" json:"dir"`
}
const (
ALL LEVEL = iota
DEBUG
INFO
WARNING
ERROR
FATAL
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.