Documentation ¶
Index ¶
- func Critical(format string, v ...interface{})
- func Debug(format string, v ...interface{})
- func Error(format string, v ...interface{})
- func Info(format string, v ...interface{})
- func SetLevelByString(level string)
- func SetOutput(output io.Writer)
- func Warn(format string, v ...interface{})
- type Level
- type Logger
- func (logger *Logger) Critical(format string, args ...interface{})
- func (logger *Logger) Debug(format string, args ...interface{})
- func (logger *Logger) Error(format string, args ...interface{})
- func (logger *Logger) HideCallstack() *Logger
- func (logger *Logger) Info(format string, args ...interface{})
- func (logger *Logger) SetLevel(level Level)
- func (logger *Logger) SetLevelByString(level string)
- func (logger *Logger) SetOutput(output io.Writer) *Logger
- func (logger *Logger) SetPrefix(prefix string) *Logger
- func (logger *Logger) SetSuffix(suffix string) *Logger
- func (logger *Logger) Warn(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetLevelByString ¶
func SetLevelByString(level string)
Types ¶
type Logger ¶
type Logger struct { Level Level // contains filtered or unexported fields }
func (*Logger) HideCallstack ¶
func (*Logger) SetLevelByString ¶
Click to show internal directories.
Click to hide internal directories.