konsultaner / connectanum-dart

This is a WAMP client (Web Application Messaging Protocol) implementation for the dart language and flutter projects.
MIT License
22 stars 14 forks source link

Add external logging controls #62

Closed yurii-prykhodko-solid closed 1 year ago

yurii-prykhodko-solid commented 1 year ago

Using Logger.root goes around the hierarchy of loggers the users of the library might want to enforce. This PR creates a library root logger, that the users of the library can interact with and process logs in their own way.

KSDaemon commented 1 year ago

@konsultaner What do you think? Please have a look when you'll have time! btw, It's pretty short.

konsultaner commented 1 year ago

@yurii-prykhodko-solid To be honest my logging sucks. If would merge it like it is, but feel free to add some senseful logging to the package if you want.

@KSDaemon like it. makes absolut sense