diff --git a/log.go b/log.go index 382af0f..a1de10f 100644 --- a/log.go +++ b/log.go @@ -114,4 +114,5 @@ func init() { if v := os.Getenv("TL_LOG"); v != "" { setLevelByName(v) } + zerolog.DefaultContextLogger = &Logger }