improvement of DefaultKTgBotAPIKSLog

This commit is contained in:
InsanusMokrassar 2023-11-25 12:56:00 +06:00
parent 98e5d182bb
commit b412e7b3b7
1 changed files with 4 additions and 1 deletions

View File

@ -1,8 +1,11 @@
package dev.inmo.tgbotapi.utils
import dev.inmo.kslog.common.KSLog
import dev.inmo.kslog.common.TagLogger
/**
* Default realization of [KSLog] which will be used everywhere where there is no some custom variant of [KSLog]
*
* By default, uses [TagLogger] with tag `KTgBot` (which in fact falling back to [KSLog.default] with `KTgBot` default tag)
*/
var DefaultKTgBotAPIKSLog = KSLog("KTgBot")
var DefaultKTgBotAPIKSLog: KSLog = TagLogger("KTgBot")