Documentation ¶
Index ¶
- func Fatal(args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Infof(format string, args ...interface{})
- func Print(args ...interface{})
- func Printf(format string, args ...interface{})
- func Println(args ...interface{})
- func Warnf(format string, args ...interface{})
- type StdLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fatal ¶
func Fatal(args ...interface{})
Fatal writes a log entry. It uses Logger if not nil, otherwise it uses the default log.Logger.
func Fatalf ¶
func Fatalf(format string, args ...interface{})
Fatalf writes a log entry. It uses Logger if not nil, otherwise it uses the default log.Logger.
func Infof ¶ added in v1.1.0
func Infof(format string, args ...interface{})
Infof writes a log entry.
func Print ¶
func Print(args ...interface{})
Print writes a log entry. It uses Logger if not nil, otherwise it uses the default log.Logger.
func Printf ¶
func Printf(format string, args ...interface{})
Printf writes a log entry. It uses Logger if not nil, otherwise it uses the default log.Logger.
Types ¶
type StdLogger ¶ added in v1.1.0
type StdLogger interface { Fatal(args ...interface{}) Fatalln(args ...interface{}) Fatalf(format string, args ...interface{}) Print(args ...interface{}) Println(args ...interface{}) Printf(format string, args ...interface{}) }
StdLogger interface for Standard Logger.
Click to show internal directories.
Click to hide internal directories.