lifecycle

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CaptureStdlibLogOutput

func CaptureStdlibLogOutput(infoTraceLogger *logging.Logger)

func JustLogger added in v0.18.0

func JustLogger(logger *logging.Logger, _ channels.Channel) *logging.Logger

func NewLogger

func NewLogger(outputLogger kitlog.Logger) *logging.Logger

Provided a standard logger that outputs to the supplied underlying outputLogger

func NewLoggerFromLoggingConfig

func NewLoggerFromLoggingConfig(loggingConfig *config.LoggingConfig) (*logging.Logger, error)

Obtain a logger from a LoggingConfig

func NewStdErrLogger

func NewStdErrLogger() (*logging.Logger, error)

func SwapOutputLoggersFromLoggingConfig added in v0.17.0

func SwapOutputLoggersFromLoggingConfig(logger *logging.Logger, loggingConfig *config.LoggingConfig) (error, channels.Channel)

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