Documentation ¶
Index ¶
- func Debugf(format string, v ...interface{})
- func Errorf(format string, v ...interface{})
- func Infof(format string, v ...interface{})
- func IsDebugEnabled() bool
- func SetLoggerDebug(logFunc LogFunc)
- func SetLoggerError(logFunc LogFunc)
- func SetLoggerInfo(logFunc LogFunc)
- func SetLoggerLevel(level LogLevel)
- func SetLoggerWarn(logFunc LogFunc)
- func Warnf(format string, v ...interface{})
- type LogFunc
- type LogLevel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDebugEnabled ¶
func IsDebugEnabled() bool
IsDebugEnabled returns true if debug level is open.
func SetLoggerDebug ¶
func SetLoggerDebug(logFunc LogFunc)
SetLoggerDebug custom your debug log implementation.
func SetLoggerError ¶
func SetLoggerError(logFunc LogFunc)
SetLoggerError custom your error level log implementation.
func SetLoggerInfo ¶
func SetLoggerInfo(logFunc LogFunc)
SetLoggerInfo custom your info log implementation.
func SetLoggerLevel ¶
func SetLoggerLevel(level LogLevel)
SetLoggerLevel set global RSocket log level. Available levels are `LogLevelDebug`, `LogLevelInfo`, `LogLevelWarn` and `LogLevelError`.
func SetLoggerWarn ¶
func SetLoggerWarn(logFunc LogFunc)
SetLoggerWarn custom your warn level log implementation.
Types ¶
Click to show internal directories.
Click to hide internal directories.