Skip to content

Commit fa67382

Browse files
committed
Show file in debug logs
1 parent fdb2c6e commit fa67382

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

log/log.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ var (
1313

1414
// Info generates debug lines of output with a "INFO" prefix.
1515
// By default the lines are written to stdout.
16-
Info = &Logger{log.New(os.Stdout, "INFO ", log.LstdFlags)}
16+
Info = &Logger{log.New(os.Stdout, "INFO ", log.LstdFlags|log.Lshortfile)}
1717
)
1818

1919
// Logger is a wrapper for log.Logger and provides

0 commit comments

Comments
 (0)