OSLogWriter

open class OSLogWriter : LogWriter

Write log statements to darwin oslog.

Inheritors

Constructors

Link copied to clipboard
constructor(messageStringFormatter: MessageStringFormatter = DefaultFormatter)

Functions

Link copied to clipboard
open fun callLog(severity: Severity, message: String, throwable: Throwable?)
Link copied to clipboard
fun LogWriter.chunked(maxMessageLength: Int = 4000, minMessageLength: Int = 3000): LogWriter
Link copied to clipboard
open fun formatMessage(severity: Severity, tag: Tag, message: Message): String
Link copied to clipboard
open fun isLoggable(tag: String, severity: Severity): Boolean
Link copied to clipboard
open override fun log(severity: Severity, message: String, tag: String, throwable: Throwable?)
Link copied to clipboard
open fun logThrowable(osLogSeverity: UByte, throwable: Throwable)