Skip to content

Support custom logger #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
varahash opened this issue Apr 14, 2025 · 2 comments
Closed

Support custom logger #58

varahash opened this issue Apr 14, 2025 · 2 comments

Comments

@varahash
Copy link

Currently SQLCipher uses Android platform android.util.Log, but unfortunately there is no way to intercept these log messages. I would like to have ability set my custom logger implementation, so that I can collect all log messages from the library and send them to server (as we do with other app logs)

This can be just an simple interface, or any of established solutions like java.util.logging.Logger, Apache Log4j, JakeWharton/timber, etc.

@developernotes
Copy link
Member

Hello @varahash,

Thanks for reaching out regarding this. We will provide an API to easily replace the usage of android.util.Log in the next public release of SQLCipher for Android.

@developernotes
Copy link
Member

Hi @varahash,

Custom logging support has been released in the new SQLCipher for Android 4.8.0 release. You can read more about the logging support here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants