Drakulix / simplelog.rs

Simple Logging Facility for Rust
https://docs.rs/simplelog/
Apache License 2.0
423 stars 71 forks source link

TermLogger: Use termcolor::BufferedStandardStream #80

Closed mrkline closed 2 years ago

mrkline commented 2 years ago

Without it, termcolor issues many, many small writes. This increases performance by several orders of magnitude, at least on Linux. Users should call log::Log::flush() to flush the log as-desired.

Drakulix commented 2 years ago

Thanks!

graelo commented 2 years ago

Same here

mrkline commented 2 years ago

Apologies @0ax1 and @u0xy, should be fixed with #82.

0ax1 commented 2 years ago

@mrkline No worries, and thanks for quickly following up with a fix!

graelo commented 2 years ago

No big worries @mrkline, this happens and in this case was easily fixable by reverting to "0.10.0". Thanks for being so reactive, cheers!

Drakulix commented 2 years ago

0.10.2 is released and 0.10.1 is yanked.

graelo commented 2 years ago

Thanks a lot to both of you!