Documentation ¶
Overview ¶
日志功能模块。
Index ¶
Constants ¶
View Source
const ( LevelOff = 0x00 LevelCritical = 0x01 LevelError = 0x02 LevelWarning = 0x03 LevelInfo = 0x04 LevelVerbos = 0x05 LevelDebug = 0x06 LevelMask = 0x07 )
View Source
const Audit = 0x08
View Source
const ConfigBoolNBSAudit = 3
View Source
const ConfigIntegerNBSMaxLogCount = 4
View Source
const ConfigIntegerNBSMaxLogSize = 3
View Source
const ConfigStringNBSLevel = 4
View Source
const ConfigStringNBSLogFileName = 5
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func New ¶
func New(conf *cache_config.Configuration) *Logger
创建一个写日志对象,使用 configBase.ConfigBase对象初始化
Click to show internal directories.
Click to hide internal directories.