sirupsen / logrus

Structured, pluggable logging for Go.
MIT License
24.3k stars 2.26k forks source link

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

Closed toma3233 closed 6 months ago

toma3233 commented 7 months 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 6 months ago

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

github-actions[bot] commented 6 months ago

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