sirupsen / logrus

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

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

Closed Hello-World-0X closed 2 months ago

Hello-World-0X commented 3 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 2 months ago

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

github-actions[bot] commented 2 months ago

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