chore: add square logcat
Signed-off-by: Infi <infi@infi.sh>
This commit is contained in:
parent
6bd5094a7a
commit
e3c5e4e0ef
|
|
@ -301,6 +301,9 @@ dependencies {
|
|||
debugImplementation("com.github.chuckerteam.chucker:library:4.0.0")
|
||||
releaseImplementation("com.github.chuckerteam.chucker:library-no-op:4.0.0")
|
||||
|
||||
// Square Logcat
|
||||
implementation("com.squareup.logcat:logcat:0.1")
|
||||
|
||||
// Testing
|
||||
androidTestImplementation("androidx.test:runner:$androidXTestVersion")
|
||||
androidTestImplementation("androidx.test:rules:$androidXTestVersion")
|
||||
|
|
|
|||
|
|
@ -3,6 +3,8 @@ package chat.revolt
|
|||
import android.app.Application
|
||||
import com.google.android.material.color.DynamicColors
|
||||
import dagger.hilt.android.HiltAndroidApp
|
||||
import logcat.AndroidLogcatLogger
|
||||
import logcat.LogPriority
|
||||
|
||||
@HiltAndroidApp
|
||||
class RevoltApplication : Application() {
|
||||
|
|
@ -13,5 +15,6 @@ class RevoltApplication : Application() {
|
|||
init {
|
||||
instance = this
|
||||
DynamicColors.applyToActivitiesIfAvailable(this)
|
||||
AndroidLogcatLogger.installOnDebuggableApp(this, minPriority = LogPriority.VERBOSE)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue