Skip to content

Commit 099326f

Browse files
authored
Merge pull request #4 from fuyibing/2.x
off enable
2 parents 0e8456f + 3d3e38e commit 099326f

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

config/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# use for application
1+
# config from github.com/fuyibing/framework-iris
22
addr: ":9080"
33
name: "FLog"

config/log.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#
22
# package: github.com/fuyibing/log.
3-
# template: log config.
43
#
54
# [adapter] 日志模式 (可选: term, file, redis, 默认: term)
65
# [level] 日志级别 (可选: DEBUG, INFO, WARN, ERROR, 默认: DEBUG)

interfaces/type.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const (
2929
)
3030

3131
var LevelTexts = map[Level]string{
32+
LevelOff: "OFF",
3233
LevelError: "ERROR",
3334
LevelWarn: "WARN",
3435
LevelInfo: "INFO",

0 commit comments

Comments
 (0)