Skip to content

Instantly share code, notes, and snippets.

@MFlisar
Created December 20, 2021 08:16
Lumberjack - Filtering
// 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