diff --git a/sentinel/src/main/AndroidManifest.xml b/sentinel/src/main/AndroidManifest.xml index 5d3da56..394f16e 100644 --- a/sentinel/src/main/AndroidManifest.xml +++ b/sentinel/src/main/AndroidManifest.xml @@ -3,6 +3,10 @@ + + - + diff --git a/tool-timber/src/main/kotlin/com/infinum/sentinel/SentinelFileTree.kt b/tool-timber/src/main/kotlin/com/infinum/sentinel/SentinelFileTree.kt index 81a6b52..3fdbde5 100644 --- a/tool-timber/src/main/kotlin/com/infinum/sentinel/SentinelFileTree.kt +++ b/tool-timber/src/main/kotlin/com/infinum/sentinel/SentinelFileTree.kt @@ -4,7 +4,7 @@ import android.content.Context import com.infinum.sentinel.ui.logger.models.BaseEntry import com.infinum.sentinel.ui.logger.models.FlowBuffer import com.infinum.sentinel.ui.logger.models.Level -import com.infinum.sentinel.ui.shared.Constants.LOG_DATE_TIME_FORMAT +import com.infinum.sentinel.ui.shared.TimberToolConstants.LOG_DATE_TIME_FORMAT import com.infinum.sentinel.ui.shared.LogFileResolver import java.io.File import java.text.SimpleDateFormat diff --git a/tool-timber/src/main/kotlin/com/infinum/sentinel/ui/logger/LoggerAdapter.kt b/tool-timber/src/main/kotlin/com/infinum/sentinel/ui/logger/LoggerAdapter.kt index 7393cc2..05c0004 100644 --- a/tool-timber/src/main/kotlin/com/infinum/sentinel/ui/logger/LoggerAdapter.kt +++ b/tool-timber/src/main/kotlin/com/infinum/sentinel/ui/logger/LoggerAdapter.kt @@ -5,7 +5,7 @@ import android.view.ViewGroup import androidx.recyclerview.widget.ListAdapter import com.infinum.sentinel.SentinelFileTree import com.infinum.sentinel.databinding.SentinelItemLogBinding -import com.infinum.sentinel.ui.shared.Constants.LOG_DATE_TIME_FORMAT +import com.infinum.sentinel.ui.shared.TimberToolConstants.LOG_DATE_TIME_FORMAT import java.text.SimpleDateFormat import java.util.Locale diff --git a/tool-timber/src/main/kotlin/com/infinum/sentinel/ui/logs/LogsAdapter.kt b/tool-timber/src/main/kotlin/com/infinum/sentinel/ui/logs/LogsAdapter.kt index 589e520..55abf53 100644 --- a/tool-timber/src/main/kotlin/com/infinum/sentinel/ui/logs/LogsAdapter.kt +++ b/tool-timber/src/main/kotlin/com/infinum/sentinel/ui/logs/LogsAdapter.kt @@ -4,7 +4,7 @@ import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.ListAdapter import com.infinum.sentinel.databinding.SentinelItemLogFileBinding -import com.infinum.sentinel.ui.shared.Constants.LOG_DATE_TIME_FORMAT +import com.infinum.sentinel.ui.shared.TimberToolConstants.LOG_DATE_TIME_FORMAT import java.io.File import java.text.SimpleDateFormat import java.util.Locale diff --git a/tool-timber/src/main/kotlin/com/infinum/sentinel/ui/shared/Constants.kt b/tool-timber/src/main/kotlin/com/infinum/sentinel/ui/shared/TimberToolConstants.kt similarity index 73% rename from tool-timber/src/main/kotlin/com/infinum/sentinel/ui/shared/Constants.kt rename to tool-timber/src/main/kotlin/com/infinum/sentinel/ui/shared/TimberToolConstants.kt index 68127b6..1ae9d57 100644 --- a/tool-timber/src/main/kotlin/com/infinum/sentinel/ui/shared/Constants.kt +++ b/tool-timber/src/main/kotlin/com/infinum/sentinel/ui/shared/TimberToolConstants.kt @@ -1,5 +1,5 @@ package com.infinum.sentinel.ui.shared -internal object Constants { +internal object TimberToolConstants { const val LOG_DATE_TIME_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSSZ" }