SourceHorizon / logger

Small, easy to use and extensible logger which prints beautiful logs.
https://pub.dev/packages/logger
MIT License
197 stars 33 forks source link

Run handlers without showing the log #24

Closed diegocatalao closed 1 year ago

diegocatalao commented 1 year ago

Hello, Folks.

In some cases it would be interesting to run the registered handlers even without needing to show the log. This line block all handlers execution.

Would it be possible to make a change in this regard?

Tanks!

Bungeefan commented 1 year ago

Hi, yeah, it would probably make sense to execute the log callbacks on every call and output callbacks on the finished output, if applicable. However, as this changes stable behavior (breaking change), I would like to move this to the next major version.

Bungeefan commented 1 year ago

@diegocatalao I would like to keep this open, so that it actually gets done. Or is this now obsolete?

diegocatalao commented 1 year ago

@Bungeefan My bad. I ended up accidentally closing 😅