Documentation ¶
Index ¶
- func Errorf(format string, args ...interface{})
- func ErrorfSkipframes(skipframes int, format string, args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Infof(format string, args ...interface{})
- func Init()
- func Panicf(format string, args ...interface{})
- func StdErrorLogger() *log.Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorfSkipframes ¶ added in v1.32.8
ErrorfSkipframes logs error message and skips the given number of frames for the caller.
func Fatalf ¶
func Fatalf(format string, args ...interface{})
Fatalf logs fatal message and terminates the app.
func Init ¶
func Init()
Init initializes the logger.
Init must be called after flag.Parse()
There is no need in calling Init from tests.
func StdErrorLogger ¶
StdErrorLogger returns standard error logger.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.