sirupsen / logrus

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

logger.Out.Write's mutex may be unnecessary, when Out is a file fd #1423

Closed Hello-World-0X closed 7 months ago

Hello-World-0X commented 8 months ago

because std lib file.Write already has lock on fd,

image image

so, can we remove the mutex lock on logger.write?

image
github-actions[bot] commented 7 months ago

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

github-actions[bot] commented 7 months ago

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