package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Sep 28, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
func Debugf(format string, v ...interface{})
Debugf prints debug level log.
DisablePrefix disable print level prefix.
func Errorf(format string, v ...interface{})
Errorf prints error level log.
func Infof(format string, v ...interface{})
Infof prints info level log.
func IsDebugEnabled() bool
IsDebugEnabled returns true if debug level is open.
SetFunc set logger func for custom level.
func SetLevel(level Level)
SetLevel set global RSocket log level.
Available levels are `LogLevelDebug`, `LogLevelInfo`, `LogLevelWarn` and `LogLevelError`.
func Warnf(format string, v ...interface{})
Warnf prints warn level log.
type Func = func(string, ...interface{})
Func is alias of logger function.
Level is level of logger.
const (
LevelDebug Level = iota
LevelInfo
LevelWarn
LevelError
)
GetLevel returns current logger level.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.