forked from golang/hotime
17 lines
217 B
Go
17 lines
217 B
Go
|
package hotime
|
||
|
|
||
|
type LOG_MODE int
|
||
|
|
||
|
const (
|
||
|
LOG_NIL = 0
|
||
|
LOG_FMT = 1
|
||
|
//LOG_FILE = 2
|
||
|
|
||
|
LOG_INFO LOG_MODE = 0
|
||
|
LOG_WARN LOG_MODE = 1
|
||
|
LOG_ERROR LOG_MODE = 2
|
||
|
)
|
||
|
|
||
|
//session储存头
|
||
|
const HEAD_SESSION_ADD = "session#"
|