setLogStream - libtd-ktx

Kotlin Coroutines extensions for Telegram API TDLib (Telegram Database library)


libtd-ktx / kotlinx.telegram.coroutines / setLogStream

setLogStream

suspend fun TelegramFlow.setLogStream(logStream: LogStream?): Unit

Suspend function, which sets new log stream for internal logging of TDLib. This is an offline method. Can be called before authorization. Can be called synchronously.

Parameters

logStream - New log stream.