lifecycle

package
v0.0.0-...-25a45d7 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CaptureStdlibLogOutput

func CaptureStdlibLogOutput(logger *logging.Logger)

func JustLogger

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

func NewLoggerFromLoggingConfig

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

Obtain a logger from a LoggingConfig

func NewStdErrLogger

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

func SwapOutputLoggersFromLoggingConfig

func SwapOutputLoggersFromLoggingConfig(logger *logging.Logger, loggingConfig *logconfig.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