Skip to content

Commit

Permalink
remove unnecessary ExtraCalldepth
Browse files Browse the repository at this point in the history
This was messing with the line numbers. It was reported and fixed in #33 but
that PR isn't formatted.

closes #33

(all credit goes to @jiangsong)
  • Loading branch information
Stebalien committed Jun 11, 2018
1 parent 3411630 commit 1f6e595
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion oldlog.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ func GetSubsystems() []string {

func getLogger(name string) *logging.Logger {
log := logging.MustGetLogger(name)
log.ExtraCalldepth = 1
loggers[name] = log
return log
}

0 comments on commit 1f6e595

Please sign in to comment.