Documentation ¶
Index ¶
- func InfoTraceLoggerAsLog15Handler(logger loggers.InfoTraceLogger) log15.Handler
- func Log15HandlerAsKitLogger(handler log15.Handler) kitlog.Logger
- func Log15LvlFromString(level string) log15.Lvl
- func LogLineToRecord(keyvals ...interface{}) *log15.Record
- func RecordToLogLine(record *log15.Record) []interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InfoTraceLoggerAsLog15Handler ¶
func InfoTraceLoggerAsLog15Handler(logger loggers.InfoTraceLogger) log15.Handler
func Log15LvlFromString ¶
Collapse our weak notion of leveling and log15's into a log15.Lvl
func LogLineToRecord ¶
Convert a go-kit log line (i.e. keyvals... interface{}) into a log15 record This allows us to use log15 output handlers
func RecordToLogLine ¶
Convert a log15 record to a go-kit log line (i.e. keyvals... interface{}) This allows us to capture output from dependencies using log15
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.