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

Investigate adoption of dart's developer `log` signature #29

Closed Bungeefan closed 1 year ago

Bungeefan commented 1 year ago

Adopting the same (or similar) signature as dart:developer.log would have several benefits:

Feel free to add your comments and ideas to this issue!

0ttik commented 1 year ago

I definitely vote for adding "tag" parameter since it seems completely unnecessary for me to implement rather complex system of different instances of Logger objects standing for it's own tag when we can just add this option to the logger itself. This seems like a common practice to me and allows to avoid overcomplicated solutions in many cases.

kulame commented 1 year ago

i also need tag optional

Bungeefan commented 1 year ago

@kulame Please vote for it in its respective issue by adding a :+1: to the initial post. This issue is about the new signature that was adopted.