refactor: enable tracking the called line

This commit is contained in:
Derrick Hammer 2024-02-28 11:06:35 -05:00
parent 844d3a0a5f
commit fba98da0e0
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ func NewLogger(cm *config.Manager) (*zap.Logger, *zap.AtomicLevel) {
zapcore.NewConsoleEncoder(zap.NewDevelopmentEncoderConfig()),
zapcore.Lock(os.Stdout),
atomicLevel,
))
), zap.AddCaller())
return logger, &atomicLevel
}