Documentation
¶
Index ¶
- func Debug(v ...interface{})
- func Debugf(format string, v ...interface{})
- func Error(v ...interface{})
- func Errorf(format string, v ...interface{})
- func Info(v ...interface{})
- func Infof(format string, v ...interface{})
- func SetLevel(level string)
- func SetOutput(writer io.Writer)
- func Trace(v ...interface{})
- func Tracef(format string, v ...interface{})
- func Warn(v ...interface{})
- func Warnf(format string, v ...interface{})
- type LogLevel
- type LogWriter
- type Logger
- func (self *Logger) Debug(v ...interface{})
- func (self *Logger) Debugf(format string, v ...interface{})
- func (self *Logger) Error(v ...interface{})
- func (self *Logger) Errorf(format string, v ...interface{})
- func (self *Logger) GetName() string
- func (self *Logger) Info(v ...interface{})
- func (self *Logger) Infof(format string, v ...interface{})
- func (self *Logger) SetLevel(level string)
- func (self *Logger) SetName(name string)
- func (self *Logger) SetOutput(writer io.Writer)
- func (self Logger) SetVariable(key string, value interface{})
- func (self Logger) SetVariables(variables map[string]interface{})
- func (self *Logger) Trace(v ...interface{})
- func (self *Logger) Tracef(format string, v ...interface{})
- func (self *Logger) Warn(v ...interface{})
- func (self *Logger) Warnf(format string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LogLevel ¶ added in v1.0.5
type LogLevel int64
func (LogLevel) FormattedString ¶ added in v1.0.5
type LogWriter ¶ added in v1.0.5
type LogWriter struct {
Writer io.Writer
TimeFormat string
Level LogLevel
Name string
Variables map[string]interface{}
}
func (LogWriter) SetVariable ¶ added in v1.0.5
func (LogWriter) SetVariables ¶ added in v1.0.5
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (Logger) SetVariable ¶ added in v1.0.4
func (Logger) SetVariables ¶ added in v1.0.4
Click to show internal directories.
Click to hide internal directories.