Documentation ¶
Index ¶
- func Debugf(format string, v ...interface{})
- func Errorf(format string, v ...interface{})
- func Fatalf(format string, v ...interface{})
- func Infof(format string, v ...interface{})
- func IsEnabled(at LogLevel) bool
- func RedactFormat(format string) string
- func SetLogLevel(to LogLevel)
- func StackTrace() string
- func Tracef(format string, v ...interface{})
- func Verbosef(format string, v ...interface{})
- func Warnf(format string, v ...interface{})
- type LogLevel
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RedactFormat ¶
func SetLogLevel ¶
func SetLogLevel(to LogLevel)
func StackTrace ¶
func StackTrace() string
Types ¶
type Logger ¶
type Logger interface { // Warnings, logged by default. Warnf(format string, v ...interface{}) // Errors, logged by default. Errorf(format string, v ...interface{}) // Fatal errors. Will not terminate execution. Fatalf(format string, v ...interface{}) // Informational messages. Infof(format string, v ...interface{}) // Verbose messages like request logging Verbosef(format string, v ...interface{}) // Get stack trace StackTrace() string // Debugging messages Debugf(format string, v ...interface{}) // Program execution - most verbose Tracef(format string, v ...interface{}) }
Click to show internal directories.
Click to hide internal directories.