mjablecnik / MyLogger

Advanced Logging Framework develop in flutter that provides quick & simple logging solution.
MIT License
7 stars 3 forks source link

Web support #4

Open karelklic opened 11 months ago

karelklic commented 11 months ago

Web support would be a fantastic addition to this package.

Currently, the initialization fails on getApplicationSupportDirectory call in LogsDatabase, which lacks web implementation. Fortunately, sembast works fine on the web. It just needs to be initialized differently.

What else needs an update?

AFAICT the core functionality (logging, filtering, retrieving logs) should work fine without any changes except the sembast initialization.

mjablecnik commented 10 months ago

Yes, it could be nice. I don't have a time to add web support and test it if works right (for mobile and web), but feel free to create PR and I will merge it ;)