SetDefaultKTgBotAPIKSLog

fun SetDefaultKTgBotAPIKSLog(dropCancellationExceptions: Boolean = true, additionalLoggerMapper: KSLog.() -> KSLog? = null)

Setting DefaultKTgBotAPIKSLog with applying of dropCancellationExceptions and additionalFilter to it

Parameters

dropCancellationExceptions

Will drap coroutines job CancellationExceptions

additionalLoggerMapper

Receives KSLog to allow you to use extensions like filtered. Returned KSLog will be used as the result KSLog in DefaultKTgBotAPIKSLog