toggle menu
Kermit
2.0.4
apple
common
switch theme
search in API
kermit-core
/
co.touchlab.kermit
/
OSLogWriter
OSLog
Writer
apple
open
class
OSLogWriter
:
LogWriter
Write log statements to darwin oslog.
Inheritors
XcodeSeverityWriter
Members
Members & Extensions
Constructors
OSLog
Writer
Link copied to clipboard
apple
constructor
(
messageStringFormatter
:
MessageStringFormatter
=
DefaultFormatter
)
Functions
call
Log
Link copied to clipboard
apple
open
fun
callLog
(
severity
:
Severity
,
message
:
String
,
throwable
:
Throwable
?
)
chunked
Link copied to clipboard
fun
LogWriter
.
chunked
(
maxMessageLength
:
Int
=
4000
,
minMessageLength
:
Int
=
3000
)
:
LogWriter
format
Message
Link copied to clipboard
apple
open
fun
formatMessage
(
severity
:
Severity
,
tag
:
Tag
,
message
:
Message
)
:
String
is
Loggable
Link copied to clipboard
apple
open
fun
isLoggable
(
tag
:
String
,
severity
:
Severity
)
:
Boolean
log
Link copied to clipboard
apple
open
override
fun
log
(
severity
:
Severity
,
message
:
String
,
tag
:
String
,
throwable
:
Throwable
?
)
log
Throwable
Link copied to clipboard
apple
open
fun
logThrowable
(
osLogSeverity
:
UByte
,
throwable
:
Throwable
)