summaryrefslogtreecommitdiff
path: root/internal/io/dlog
diff options
context:
space:
mode:
Diffstat (limited to 'internal/io/dlog')
-rw-r--r--internal/io/dlog/dlog.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/io/dlog/dlog.go b/internal/io/dlog/dlog.go
index db99307..a17d6e9 100644
--- a/internal/io/dlog/dlog.go
+++ b/internal/io/dlog/dlog.go
@@ -201,6 +201,8 @@ func (d *DLog) Debug(args ...interface{}) string {
}
func (d *DLog) Trace(args ...interface{}) string {
+ _, file, line, _ := runtime.Caller(1)
+ args = append(args, fmt.Sprintf("at %s:%d", file, line))
return d.log(TRACE, args)
}