You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that using NewJSONLogger that caller is always an emtpy {} when logging:
logger = log.NewJSONLogger(os.Stderr)
logger = log.NewContext(logger).With("caller", log.DefaultCaller)
logger.Log()
Results in the following log output:
{"caller":{}}
The text was updated successfully, but these errors were encountered:
I've noticed that using NewJSONLogger that caller is always an emtpy {} when logging:
logger = log.NewJSONLogger(os.Stderr)
logger = log.NewContext(logger).With("caller", log.DefaultCaller)
logger.Log()
Results in the following log output:
{"caller":{}}
The text was updated successfully, but these errors were encountered: