2.3.0 - Unified logging and app intents
All checks were successful
Ascently - Docs Deploy / build-and-push (pull_request) Successful in 8m4s
All checks were successful
Ascently - Docs Deploy / build-and-push (pull_request) Successful in 8m4s
This commit is contained in:
@@ -3,11 +3,10 @@ package com.atridad.ascently.utils
|
||||
import android.util.Log
|
||||
import com.atridad.ascently.BuildConfig
|
||||
|
||||
/**
|
||||
* Centralized logging utility to ensure all mobile logging happens only in debug builds.
|
||||
*/
|
||||
object AppLogger {
|
||||
|
||||
private const val DEFAULT_TAG = "Ascently"
|
||||
|
||||
enum class Level(val androidLevel: Int) {
|
||||
DEBUG(Log.DEBUG),
|
||||
INFO(Log.INFO),
|
||||
@@ -46,6 +45,4 @@ object AppLogger {
|
||||
Log.println(level.androidLevel, tag, message)
|
||||
}
|
||||
}
|
||||
|
||||
private const val DEFAULT_TAG = "Ascently"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user