aboutsummaryrefslogtreecommitdiff
path: root/llog/llog.go
diff options
context:
space:
mode:
Diffstat (limited to 'llog/llog.go')
-rw-r--r--llog/llog.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/llog/llog.go b/llog/llog.go
index f7a5486..6f3aff9 100644
--- a/llog/llog.go
+++ b/llog/llog.go
@@ -21,7 +21,7 @@ var Level LogLevel = l_DDebug
func SetLogLevelFromString(level string) {
for i, l := range getLevelNames() {
if l == level {
- Level = LogLevel(i)
+ Level = LogLevel(i + 1)
return
}
}