Documentation
¶
Index ¶
Constants ¶
View Source
const ( LOG_LEVEL_DISABLE = -1 LOG_LEVEL_TRACE = 0 LOG_LEVEL_WARN = 1 LOG_LEVEL_DEBUG = 2 LOG_LEVEL_INFO = 3 LOG_LEVEL_ERROR = 4 LOG_LEVEL_FATAL = 5 LogChanCacheSize = 10 //10 chan 来缓冲 )
View Source
const ( LOG_NO_FILE = 0x0 LOG_LONG_FILE = 0x1 LOG_SHORT_FILE = 0x2 LOG_TIME = 0x4 )
log flag ,which can be combined by bit.
Variables ¶
This section is empty.
Functions ¶
func OutputInCmd ¶
func OutputInCmd(inCmd bool)
func SetLogLevel ¶
func SetLogLevel(l int)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.