Documentation ¶
Index ¶
- func CaptureStdlibLogOutput(infoTraceLogger types.InfoTraceLogger)
- func CaptureTendermintLog15Output(infoTraceLogger types.InfoTraceLogger)
- func NewLogger(outputLogger kitlog.Logger) (types.InfoTraceLogger, channels.Channel)
- func NewLoggerFromLoggingConfig(loggingConfig *config.LoggingConfig) (types.InfoTraceLogger, error)
- func NewStdErrLogger() (types.InfoTraceLogger, channels.Channel)
- func SwapOutputLoggersFromLoggingConfig(logger types.InfoTraceLogger, loggingConfig *config.LoggingConfig) error
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 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.
Click to show internal directories.
Click to hide internal directories.