Documentation ¶
Index ¶
- func Debugf(format string, args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Infof(format string, args ...interface{})
- func IsDebugEnabled() bool
- func IsTraceEnabled() bool
- func Prettyf(msg string, obj interface{})
- func Secretf(format string, args ...interface{})
- func Tracef(format string, args ...interface{})
- func Warnf(format string, args ...interface{})
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDebugEnabled ¶
func IsDebugEnabled() bool
func IsTraceEnabled ¶
func IsTraceEnabled() bool
func Prettyf ¶ added in v1.3.0
func Prettyf(msg string, obj interface{})
Prettyf is like Tracef, but pretty prints the entire struct
Types ¶
type Logger ¶
type Logger interface { Warnf(format string, args ...interface{}) Infof(format string, args ...interface{}) Errorf(format string, args ...interface{}) Debugf(format string, args ...interface{}) Tracef(format string, args ...interface{}) Fatalf(format string, args ...interface{}) }
func StandardLogger ¶
func StandardLogger() Logger
Click to show internal directories.
Click to hide internal directories.