logging

package
v0.0.0-...-c5d900d Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(args *arguments.Args) log15.Logger

func PromLogger

func PromLogger(logger log15.Logger) promhttp.Logger

Types

type GinLogger

type GinLogger struct {
	Logger log15.Logger
}

func (GinLogger) Write

func (w GinLogger) Write(b []byte) (int, error)

type PrintfLogger

type PrintfLogger struct {
	Logger log15.Logger
}

func (PrintfLogger) Printf

func (l PrintfLogger) Printf(format string, v ...interface{})

type PrometheusLogger

type PrometheusLogger struct {
	Logger log15.Logger
}

func (PrometheusLogger) Println

func (a PrometheusLogger) Println(v ...interface{})

Jump to

Keyboard shortcuts

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