sirupsen / logrus

Structured, pluggable logging for Go.
MIT License
24.8k stars 2.27k forks source link

Question: Any way to view the value of a field from a logrus.FieldLogger? #1409

Closed toma3233 closed 11 months ago

toma3233 commented 1 year ago

I have a ctxlogger that I am using throughout my program. This ctxlogger has a field called "request-id", which I want to extract to add to the fields of a new logger.FieldLogger I create in a function. What is the best way of going about doing this?

github-actions[bot] commented 11 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 11 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.