XcodeSeverityWriter

open class XcodeSeverityWriter(messageStringFormatter: MessageStringFormatter = DefaultFormatter) : OSLogWriter

Development-focused LogWriter. Will write a colored emoji according to Severity, and write the Throwable stack trace to println rather than oslog, as oslog will cut off long strings.

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 emojiPrefix(severity: Severity): String
Link copied to clipboard
open override 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 override fun logThrowable(osLogSeverity: UByte, throwable: Throwable)