package
1.0.0-beta
Repository: https://github.com/liwh1227/go-common.git
Documentation: pkg.go.dev

# README

logger

logger公共代码库,基于zap封装

# Packages

No description provided by the author

# Functions

DefaultLogConfig create default config for core module.
GetDefaultLogModuleConfig create a default core config of node.
GetLogger find or create a Logger with module name, usually called in initialization of all module.
GetLoggerByChain find the Logger object with module name and serviceName, usually called in initialization of all module.
RefreshLogConfig refresh core levels of modules at initiation time of core module or refresh core levels of modules dynamically at running time.
SetLogConfig set the config of logger module, called in initialization of config module.

# Constants

Log module.
Log module.
Log module.
Log module.
Log module.

# Structs

LogConfig the config of core module.
Logger is an implementation of service logger.
No description provided by the author
LogModuleConfig 设置不同模块的日志.