增加log文件存取,以及增加LOG函数

This commit is contained in:
2020-02-22 00:13:41 +08:00
parent ab294ca6f0
commit bb2311148e
10 changed files with 148 additions and 123 deletions
+9 -3
View File
@@ -1,9 +1,15 @@
package hotime
type LOG_MODE int
const (
LOG_FMT = 0
LOG_NIL = 1
LOG_FILE = 2
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储存头