Documentation
¶
Index ¶
- Variables
- func Debug(v ...any)
- func DebugLn(v ...any)
- func Debugf(format string, v ...any)
- func Error(v ...any)
- func ErrorLn(v ...any)
- func Errorf(format string, v ...any)
- func Info(v ...any)
- func InfoLn(v ...any)
- func Infof(format string, v ...any)
- func SetLogLevel(level LogLevelType)
- type LogLevelType
- type LogWriter
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func SetLogLevel ¶ added in v0.1.16
func SetLogLevel(level LogLevelType)
Types ¶
type LogLevelType ¶ added in v0.1.13
type LogLevelType int
var ( LogLevelDebug LogLevelType = 0 LogLevelInfo LogLevelType = 1 LogLevelError LogLevelType = 2 LogLevelSilent LogLevelType = 10 )
func GetLogLevel ¶ added in v0.1.16
func GetLogLevel() LogLevelType
type LogWriter ¶ added in v0.1.13
type LogWriter struct {
WriterLevel LogLevelType
}
func DebugWriter ¶ added in v0.1.13
func DebugWriter() *LogWriter
func ErrorWriter ¶ added in v0.1.13
func ErrorWriter() *LogWriter
func InfoWriter ¶ added in v0.1.13
func InfoWriter() *LogWriter
Click to show internal directories.
Click to hide internal directories.