update the depth in New func

This commit is contained in:
Tan Jiang 2016-05-24 11:02:03 +08:00
parent da6f7f8a8c
commit 616d96496a

View File

@ -62,7 +62,7 @@ func New(out io.Writer, fmtter Formatter, lvl Level) *Logger {
out: out,
fmtter: fmtter,
lvl: lvl,
callDepth: 2,
callDepth: 3,
}
}