lifecycle

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CaptureStdlibLogOutput

func CaptureStdlibLogOutput(infoTraceLogger types.InfoTraceLogger)

func CaptureTendermintLog15Output

func CaptureTendermintLog15Output(infoTraceLogger types.InfoTraceLogger)

func NewLogger

func NewLogger(outputLogger kitlog.Logger) (types.InfoTraceLogger, channels.Channel)

Provided a standard logger that outputs to the supplied underlying outputLogger

func NewLoggerFromLoggingConfig

func NewLoggerFromLoggingConfig(loggingConfig *config.LoggingConfig) (types.InfoTraceLogger, error)

Obtain a logger from a LoggingConfig

func NewStdErrLogger

func NewStdErrLogger() (types.InfoTraceLogger, channels.Channel)

func SwapOutputLoggersFromLoggingConfig added in v0.17.0

func SwapOutputLoggersFromLoggingConfig(logger types.InfoTraceLogger,
	loggingConfig *config.LoggingConfig) error

Hot swap logging config by replacing output loggers of passed InfoTraceLogger with those built from loggingConfig

Types

This section is empty.

Jump to

Keyboard shortcuts

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