Documentation
¶
Index ¶
Constants ¶
View Source
const ( LoggerMaxSize = 100 LoggerMaxBackups = 30 LoggerMaxAge = 30 LoggerCompress = false )
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.