1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-22 08:13:47 +00:00

improvement of DefaultKTgBotAPIKSLog

This commit is contained in:
InsanusMokrassar 2023-11-25 12:56:00 +06:00
parent 98e5d182bb
commit b412e7b3b7

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")