Created
November 12, 2019 20:52
-
-
Save Kpeved/3c2e78668737b980b1affc73c0e5b35a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CrashReportingTree : Timber.Tree() { | |
@SuppressLint("LogNotTimber") | |
override fun log(priority: Int, tag: String?, message: String, t: Throwable?) { | |
if (priority == Log.DEBUG || priority == Log.ERROR) { | |
Log.e("ho", "Log was secured") | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment