LogWriter

abstract class LogWriter

Called by Logger to actually send log statements to specific targets. There are several implementations provided by Kermit, but you can supply your own for specific use cases.

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun LogWriter.chunked(maxMessageLength: Int = 4000, minMessageLength: Int = 3000): LogWriter
Link copied to clipboard
open fun isLoggable(tag: String, severity: Severity): Boolean
Link copied to clipboard
abstract fun log(severity: Severity, message: String, tag: String, throwable: Throwable? = null)