Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
object TimberLog {
fun init() {
class ReleaseTree: Timber.Tree() {
override fun log(priority: Int, tag: String?, message: String, throwable: Throwable?) {
if (priority >= Log.WARN) {
FlurryAgent.onError(tag ?: "", message, throwable ?: Throwable(message))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment