Documentation ¶
Index ¶
- func NewJSONLoggerWriter(verbosity int, event, key string) io.Writer
- type CSVLogger
- type JSONLogger
- func (l JSONLogger) Debug(event string, keyvals ...interface{})
- func (l JSONLogger) Error(event string, keyvals ...interface{})
- func (l JSONLogger) Info(event string, keyvals ...interface{})
- func (l JSONLogger) Panic(event string, keyvals ...interface{})
- func (l JSONLogger) Trace(event string, keyvals ...interface{})
- func (l JSONLogger) Warn(event string, keyvals ...interface{})
- func (l JSONLogger) With(keyvals ...interface{}) golog.Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CSVLogger ¶
type CSVLogger struct {
// contains filtered or unexported fields
}
func NewCSVLogger ¶
func NewCSVLogger() *CSVLogger
func (*CSVLogger) PrintHeader ¶
func (*CSVLogger) PrintHeaderEvent ¶
func (l *CSVLogger) PrintHeaderEvent(event *config.HeaderEvent)
type JSONLogger ¶
type JSONLogger struct {
// contains filtered or unexported fields
}
func NewJSONLogger ¶
func NewJSONLogger(verbosity int) *JSONLogger
func (JSONLogger) Debug ¶
func (l JSONLogger) Debug(event string, keyvals ...interface{})
func (JSONLogger) Error ¶
func (l JSONLogger) Error(event string, keyvals ...interface{})
func (JSONLogger) Info ¶
func (l JSONLogger) Info(event string, keyvals ...interface{})
func (JSONLogger) Panic ¶ added in v0.1.1
func (l JSONLogger) Panic(event string, keyvals ...interface{})
func (JSONLogger) Trace ¶
func (l JSONLogger) Trace(event string, keyvals ...interface{})
func (JSONLogger) Warn ¶
func (l JSONLogger) Warn(event string, keyvals ...interface{})
func (JSONLogger) With ¶
func (l JSONLogger) With(keyvals ...interface{}) golog.Logger
Click to show internal directories.
Click to hide internal directories.