Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Info logs to waring error fatal Info func(args ...interface{}) // Infof logs to warning error fatal Infof func(format string, args ...interface{}) // Warning logs to warning error fatal. Warning func(args ...interface{}) // Warningf logs to warning error fatal. Warningf func(format string, args ...interface{}) // Error logs to the error fatal Error func(args ...interface{}) // Errorf logs to the error fatal Errorf func(format string, args ...interface{}) // Fatal logs to the fatal Fatal func(args ...interface{}) // Fatalf logs to fatal Fatalf func(format string, args ...interface{}) )
Functions ¶
Types ¶
type Logger ¶
type Logger struct {
// Info logs to the INFO logs.
Info func(args ...interface{})
Infof func(format string, args ...interface{})
// Warning logs to the WARNING and INFO logs.
Warning func(args ...interface{})
Warningf func(format string, args ...interface{})
// Error logs to the ERROR、 WARNING and INFO logs.
Error func(args ...interface{})
Errorf func(format string, args ...interface{})
// Fatal logs to the FATAL, ERROR, WARNING, and INFO logs.
Fatal func(args ...interface{})
Fatalf func(format string, args ...interface{})
}
Logger implements the Loger interface
Click to show internal directories.
Click to hide internal directories.