[O] Optimize logging

This commit is contained in:
Azalea
2025-03-27 05:16:24 -04:00
parent c32d334aab
commit 685129fede
5 changed files with 22 additions and 29 deletions

View File

@@ -37,6 +37,7 @@ class TokenChecker(
private val currentSession = ThreadLocal<KeychipSession?>()
fun getCurrentSession() = currentSession.get()
fun tokenShort() = getCurrentSession()?.token?.substring(0, 6) ?: "NO-TOKEN"
}
/**