bosphere / Android-FileLogger

A general-purpose logging library with built-in support to save logs to file efficiently.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logging not working

MohammedAlaaMorsi opened this issue · comments

when I enable logging for first time it writes log to the file but if I close the application and open it again it not continue writing to the file

Please provide sample project or code snippet to reproduce this issue.

Sorry I can't share my code ,I solved this issue by init() the FL every time my application starts on login page

FL.init() should be called only once upon app launch. The recommended approach is to create your own Application subclass and do your one-time initialisation steps under its onCreate() callback.

Anyways, closing this issue as nothing to be done in the scope of this project.