Documentation ¶
Index ¶
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 SetLevel ¶
func SetLevel(level Level)
SetLevel set global RSocket log level. Available levels are `LevelDebug`, `LevelInfo`, `LevelWarn` and `LevelError`.
Types ¶
type Logger ¶ added in v0.6.0
type Logger interface { // Debugf print to the debug level logs. Debugf(format string, args ...interface{}) // Infof print to the info level logs. Infof(format string, args ...interface{}) // Warnf print to the info level logs. Warnf(format string, args ...interface{}) // Errorf print to the info level logs. Errorf(format string, args ...interface{}) }
Logger is used to print logs.
Click to show internal directories.
Click to hide internal directories.