sirupsen / logrus

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

Info requested: How to buffer messages and release at the end #1398

Closed viralmutant closed 10 months ago

viralmutant commented 11 months ago

Hello

This is more of query/suggestion ask and not a bug.

I am trying to figure out if there is some way I can buffer the log messages, with original timestamps preserved. And release all the messages only at the end of a long running operation if that operation took certain time to complete.

Else just discard the logs.

Any suggestions ?

github-actions[bot] commented 10 months ago

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

github-actions[bot] commented 10 months ago

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