CalDAV support (#15)
This commit is contained in:
5
vendor/github.com/labstack/gommon/log/log.go
generated
vendored
5
vendor/github.com/labstack/gommon/log/log.go
generated
vendored
@ -8,11 +8,10 @@ import (
|
||||
"os"
|
||||
"path"
|
||||
"runtime"
|
||||
"strconv"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"strconv"
|
||||
|
||||
"github.com/mattn/go-isatty"
|
||||
"github.com/valyala/fasttemplate"
|
||||
|
||||
@ -343,7 +342,7 @@ func (l *Logger) log(v Lvl, format string, args ...interface{}) {
|
||||
buf := l.bufferPool.Get().(*bytes.Buffer)
|
||||
buf.Reset()
|
||||
defer l.bufferPool.Put(buf)
|
||||
_, file, line, _ := runtime.Caller(3)
|
||||
_, file, line, _ := runtime.Caller(2)
|
||||
|
||||
if v >= l.level || v == 0 {
|
||||
message := ""
|
||||
|
Reference in New Issue
Block a user