Documentation ¶
Index ¶
- Constants
- func Debug(v ...interface{})
- func Debug2(skip int, v ...interface{})
- func Empty() bool
- func Error(v ...interface{})
- func Error2(skip int, v ...interface{})
- func Fatal(v ...interface{})
- func Fatal2(skip int, v ...interface{})
- func Info(v ...interface{})
- func Info2(skip int, v ...interface{})
- func PrintLog(level LEVEL, format string, v ...any)
- func SetConsole(b bool)
- func SetLevel(level LEVEL)
- func SetLogDir(dir string, size int64) bool
- func SetUpdate()
- func Trace(v ...interface{})
- func Trace2(skip int, v ...interface{})
- func WaitLogFinish()
- func Warn(v ...interface{})
- func Warn2(skip int, v ...interface{})
- type LEVEL
- type PrintLoger
Constants ¶
View Source
const ( OFF = iota FATAL ERROR WARN INFO DEBUG ALL_LEVEL UNEXPECT )
Variables ¶
This section is empty.
Functions ¶
func SetConsole ¶
func SetConsole(b bool)
func WaitLogFinish ¶
func WaitLogFinish()
Types ¶
type PrintLoger ¶
type PrintLoger struct { }
Click to show internal directories.
Click to hide internal directories.