Documentation ¶
Index ¶
- func Debug(a ...any)
- func Debugf(format string, a ...any)
- func Error(a ...any)
- func Errorf(format string, a ...any)
- func Info(a ...any)
- func Infof(format string, a ...any)
- func Log(level Level, a ...any)
- func Logf(level Level, format string, a ...any)
- func SetConsoleFilter(levels Level)
- func SetFileFilter(levels Level)
- func SetUDPFilter(levels Level)
- func Warn(a ...any)
- func Warnf(format string, a ...any)
- type Level
- type LogMessage
- type Logging
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetConsoleFilter ¶
func SetConsoleFilter(levels Level)
func SetFileFilter ¶
func SetFileFilter(levels Level)
func SetUDPFilter ¶
func SetUDPFilter(levels Level)
Types ¶
type Level ¶
type Level uint8
const ( LevelNone Level = C.log_level_none LevelAll Level = C.log_level_all LevelInfo Level = C.log_level_info LevelWarn Level = C.log_level_warning LevelError Level = C.log_level_error LevelFatal Level = C.log_level_fatal LevelDebug Level = C.log_level_debug1 LevelDebug1 Level = C.log_level_debug1 LevelDebug2 Level = C.log_level_debug2 LevelDebug3 Level = C.log_level_debug3 LevelDebug4 Level = C.log_level_debug4 )
type LogMessage ¶
type Logging ¶
type Logging struct {
Messages []LogMessage
}
func GetLogging ¶
func GetLogging() Logging
Click to show internal directories.
Click to hide internal directories.