adapters

package
v0.16.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2017 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InfoTraceLoggerAsLog15Handler

func InfoTraceLoggerAsLog15Handler(logger loggers.InfoTraceLogger) log15.Handler

func Log15HandlerAsKitLogger

func Log15HandlerAsKitLogger(handler log15.Handler) kitlog.Logger

func Log15LvlFromString

func Log15LvlFromString(level string) log15.Lvl

Collapse our weak notion of leveling and log15's into a log15.Lvl

func LogLineToRecord

func LogLineToRecord(keyvals ...interface{}) *log15.Record

Convert a go-kit log line (i.e. keyvals... interface{}) into a log15 record This allows us to use log15 output handlers

func RecordToLogLine

func RecordToLogLine(record *log15.Record) []interface{}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL