logger

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoggerManager

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

LoggerManager updates log configurations online.

func NewLoggerManager

func NewLoggerManager(cfg *config.Log) (*LoggerManager, *zap.Logger, error)

NewLoggerManager creates a new LoggerManager.

func (*LoggerManager) Close

func (lm *LoggerManager) Close() error

Close releases all resources.

func (*LoggerManager) Init

func (lm *LoggerManager) Init(cfgch <-chan *config.Config)

Init starts a goroutine to watch configuration.

Jump to

Keyboard shortcuts

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