Android Client for Loggy
./gradlew publish --no-daemon --no-parallel
./gradlew closeAndReleaseRepository
Install Loggy library in build.gradle Search Maven For Latest Version
implementation 'sh.loggy:loggy:<version>'
override fun onCreate() {
Loggy.setup(
this@MainApplication,
"<api-key>",
)
}
Loggy.log(priority, tag, message, t)
class LoggyTree() : Timber.Tree() {
override fun log(priority: Int, tag: String?, message: String, t: Throwable?) {
Loggy.log(priority, tag, message, t)
}
}
Add this to application onCreate
Timber.plant(LoggyTree())