Documentation ¶
Index ¶
- func Error(v ...interface{})
- func ErrorCaller(format string, v ...interface{})
- func Errorf(format string, v ...interface{})
- func GetInfoCallerOutput(color string, skip int, format string, v ...interface{}) string
- func Info(format string, v ...interface{})
- func InfoCaller(format string, v ...interface{})
- func Infof(format string, v ...interface{})
- func InfofCaller(format string, v ...interface{})
- func InfofCallerPage(format string, v ...interface{})
- func SetLogger(logger *LogFacer)
- func SetLoggerLevel(level LogLevel)
- type LogFacer
- type LogLevel
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorCaller ¶
func ErrorCaller(format string, v ...interface{})
func GetInfoCallerOutput ¶
func InfoCaller ¶
func InfoCaller(format string, v ...interface{})
func InfofCaller ¶
func InfofCaller(format string, v ...interface{})
func InfofCallerPage ¶
func InfofCallerPage(format string, v ...interface{})
func SetLoggerLevel ¶
func SetLoggerLevel(level LogLevel)
Types ¶
type LogFacer ¶
type LogFacer interface { //LogMode(LogLevel) LogFacer Info(format string, v ...interface{}) Warn(format string, v ...interface{}) Error(format string, v ...interface{}) }
Interface logger interface
Click to show internal directories.
Click to hide internal directories.