sirupsen / logrus

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

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

Closed viralmutant closed 1 year ago

viralmutant commented 1 year 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 1 year ago

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

github-actions[bot] commented 1 year ago

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