Documentation
¶
Index ¶
Constants ¶
View Source
const ( LoggerMaxSize = 100 LoggerMaxBackups = 7 LoggerMaxAge = 0 LoggerCompress = true )
Variables ¶
Functions ¶
func GetLoggerLevel ¶
func InitLogger ¶
func InitLogger(c LogConfig)
Types ¶
type LogManager ¶
type LogManager struct {
// contains filtered or unexported fields
}
func NewLogManager ¶
func NewLogManager(c LogConfig) *LogManager
func (*LogManager) AddLogger ¶
func (lm *LogManager) AddLogger(c LogConfig, name string)
Click to show internal directories.
Click to hide internal directories.