Created
December 20, 2021 08:16
-
-
Save MFlisar/9b3d8966ea1b9ecdf340fa2521c71f99 to your computer and use it in GitHub Desktop.
Lumberjack - Filtering
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
// e.g. completely disable logs in debug | |
L.enabled = BuildConfig.DEBUG | |
// e.g. disable all tags that are not starting with "IMPORTANT_" | |
L.tagNameFilter = { it.startsWith("IMPORTANT_") } | |
// e.g. disable logs from any non app package name | |
L.packageNameFilter = { it.startsWith("com.my.package.name") } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment