Documentation ¶
Index ¶
- type Logger
- func (logger *Logger) Debug(args ...interface{})
- func (logger *Logger) Debugf(format string, args ...interface{})
- func (logger *Logger) Error(args ...interface{})
- func (logger *Logger) Errorf(format string, args ...interface{})
- func (logger *Logger) Fatal(args ...interface{})
- func (logger *Logger) Fatalf(format string, args ...interface{})
- func (logger *Logger) Info(args ...interface{})
- func (logger *Logger) Infof(format string, args ...interface{})
- func (logger *Logger) Panic(args ...interface{})
- func (logger *Logger) Panicf(format string, args ...interface{})
- func (logger *Logger) Warn(args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger : Logger type
var GlobalLogger *Logger
func (*Logger) Debug ¶
func (logger *Logger) Debug(args ...interface{})
Debug : Log level type Debug
func (*Logger) Error ¶
func (logger *Logger) Error(args ...interface{})
Error : Log level type Error
func (*Logger) Fatal ¶
func (logger *Logger) Fatal(args ...interface{})
Fatal : Log level type Fatal
func (*Logger) Panic ¶
func (logger *Logger) Panic(args ...interface{})
Panic : Log level type Panic
Click to show internal directories.
Click to hide internal directories.