log

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2019 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupLogger

func SetupLogger(level log.Lvl)

Setup sets up the logging infrastructure

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

func NewLogger

func NewLogger() Logger

Logger returns a new instance of an lightchain Logger. With() should be called upon the returned instance to set default keys #unstable

func (Logger) Debug

func (l Logger) Debug(msg string, ctx ...interface{})

Debug proxies everything to the go-ethereum logging facilities #unstable

func (Logger) Error

func (l Logger) Error(msg string, ctx ...interface{})

Error proxies everything to the go-ethereum logging facilities #unstable

func (Logger) Info

func (l Logger) Info(msg string, ctx ...interface{})

Info proxies everything to the go-ethereum logging facilities #unstable

func (Logger) Warn

func (l Logger) Warn(msg string, ctx ...interface{})

Error proxies everything to the go-ethereum logging facilities #unstable

func (Logger) With

func (l Logger) With(ctx ...interface{}) tmtLog.Logger

With proxies everything to the go-ethereum logging facilities #unstable

Jump to

Keyboard shortcuts

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