ThrowErrorTree(priority: Int = Log.ERROR, filter: Filter = NoFilter.INSTANCE)
An implementation of Timber.Tree which throws java.lang.Error when priority of log is exceeded the limit. Useful for development or test environment.
priority - Minimum log priority to throw error. Expects one of constants defined in Log.