toggle menu
Kermit
2.0.4
common
switch theme
search in API
kermit
/
co.touchlab.kermit
/
Logger
/
Companion
Companion
object
Companion
:
Logger
Members
Properties
config
Link copied to clipboard
open
val
config
:
LoggerConfig
mutable
Config
Link copied to clipboard
val
mutableConfig
:
MutableLoggerConfig
tag
Link copied to clipboard
open
override
val
tag
:
String
Functions
a
Link copied to clipboard
@
JvmOverloads
inline
fun
a
(
messageString
:
String
,
throwable
:
Throwable
?
=
null
,
tag
:
String
=
this.tag
)
@
JvmOverloads
inline
fun
a
(
throwable
:
Throwable
?
=
null
,
tag
:
String
=
this.tag
,
message
:
(
)
->
String
)
fun
a
(
tag
:
String
,
throwable
:
Throwable
?
=
null
,
message
:
(
)
->
String
)
add
Log
Writer
Link copied to clipboard
fun
addLogWriter
(
vararg
logWriter
:
LogWriter
)
d
Link copied to clipboard
@
JvmOverloads
inline
fun
d
(
messageString
:
String
,
throwable
:
Throwable
?
=
null
,
tag
:
String
=
this.tag
)
@
JvmOverloads
inline
fun
d
(
throwable
:
Throwable
?
=
null
,
tag
:
String
=
this.tag
,
message
:
(
)
->
String
)
fun
d
(
tag
:
String
,
throwable
:
Throwable
?
=
null
,
message
:
(
)
->
String
)
e
Link copied to clipboard
@
JvmOverloads
inline
fun
e
(
messageString
:
String
,
throwable
:
Throwable
?
=
null
,
tag
:
String
=
this.tag
)
@
JvmOverloads
inline
fun
e
(
throwable
:
Throwable
?
=
null
,
tag
:
String
=
this.tag
,
message
:
(
)
->
String
)
fun
e
(
tag
:
String
,
throwable
:
Throwable
?
=
null
,
message
:
(
)
->
String
)
i
Link copied to clipboard
@
JvmOverloads
inline
fun
i
(
messageString
:
String
,
throwable
:
Throwable
?
=
null
,
tag
:
String
=
this.tag
)
@
JvmOverloads
inline
fun
i
(
throwable
:
Throwable
?
=
null
,
tag
:
String
=
this.tag
,
message
:
(
)
->
String
)
fun
i
(
tag
:
String
,
throwable
:
Throwable
?
=
null
,
message
:
(
)
->
String
)
log
Link copied to clipboard
inline
fun
log
(
severity
:
Severity
,
tag
:
String
,
throwable
:
Throwable
?
,
message
:
String
)
log
Block
Link copied to clipboard
inline
fun
logBlock
(
severity
:
Severity
,
tag
:
String
,
throwable
:
Throwable
?
,
message
:
MessageBlock
)
process
Log
Link copied to clipboard
fun
processLog
(
severity
:
Severity
,
tag
:
String
,
throwable
:
Throwable
?
,
message
:
String
)
set
Log
Writers
Link copied to clipboard
fun
setLogWriters
(
vararg
logWriter
:
LogWriter
)
fun
setLogWriters
(
logWriters
:
List
<
LogWriter
>
)
set
Min
Severity
Link copied to clipboard
fun
setMinSeverity
(
severity
:
Severity
)
set
Tag
Link copied to clipboard
fun
setTag
(
tag
:
String
)
v
Link copied to clipboard
@
JvmOverloads
inline
fun
v
(
messageString
:
String
,
throwable
:
Throwable
?
=
null
,
tag
:
String
=
this.tag
)
@
JvmOverloads
inline
fun
v
(
throwable
:
Throwable
?
=
null
,
tag
:
String
=
this.tag
,
message
:
(
)
->
String
)
fun
v
(
tag
:
String
,
throwable
:
Throwable
?
=
null
,
message
:
(
)
->
String
)
w
Link copied to clipboard
@
JvmOverloads
inline
fun
w
(
messageString
:
String
,
throwable
:
Throwable
?
=
null
,
tag
:
String
=
this.tag
)
@
JvmOverloads
inline
fun
w
(
throwable
:
Throwable
?
=
null
,
tag
:
String
=
this.tag
,
message
:
(
)
->
String
)
fun
w
(
tag
:
String
,
throwable
:
Throwable
?
=
null
,
message
:
(
)
->
String
)
with
Tag
Link copied to clipboard
fun
withTag
(
tag
:
String
)
:
Logger