Make our loggers singletons.

This commit is contained in:
Greyson Parrelli
2025-08-04 11:31:45 -04:00
committed by Cody Henthorne
parent ec7a2f734a
commit 26df14124b
10 changed files with 26 additions and 12 deletions
@@ -27,7 +27,7 @@ class QrMainActivity : AppCompatActivity() {
@SuppressLint("NewApi", "SetTextI18n")
override fun onCreate(savedInstanceState: Bundle?) {
Log.initialize(
AndroidLogger(),
AndroidLogger,
object : Log.Logger() {
override fun v(tag: String, message: String?, t: Throwable?, keepLonger: Boolean) {
printlnFormatted('v', tag, message, t)