File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,11 @@ package log
17
17
18
18
import (
19
19
"fmt"
20
- "github.com/kataras/golog"
21
- "github.com/kataras/pio"
22
20
"io"
23
21
"runtime"
22
+
23
+ "github.com/kataras/golog"
24
+ "github.com/kataras/pio"
24
25
)
25
26
26
27
//
@@ -182,12 +183,12 @@ func Warnf(format string, args ...interface{}) {
182
183
183
184
// Info will print when logger's Level is info or debug.
184
185
func Info (v ... interface {}) {
185
- golog .Info ( v ... )
186
+ withCaller ( golog .Info , v ... )
186
187
}
187
188
188
189
// Infof will print when logger's Level is info or debug.
189
190
func Infof (format string , args ... interface {}) {
190
- golog .Infof ( format , args ... )
191
+ withCallerf ( golog .Infof , format , args ... )
191
192
}
192
193
193
194
// Debug will print when logger's Level is debug.
@@ -197,7 +198,6 @@ func Debug(v ...interface{}) {
197
198
198
199
// Debugf will print when logger's Level is debug.
199
200
func Debugf (format string , args ... interface {}) {
200
-
201
201
withCallerf (golog .Debugf , format , args ... )
202
202
}
203
203
You can’t perform that action at this time.
0 commit comments