toggle menu
Kermit
2.0.4
common
switch theme
search in API
kermit
/
co.touchlab.kermit
/
Logger
Logger
open
class
Logger
(
config
:
LoggerConfig
,
val
tag
:
String
=
""
)
:
BaseLogger
The default Logger API. This class can be a local instance, or use the global companion syntax.
Inheritors
Companion
Members
Constructors
Logger
Link copied to clipboard
constructor
(
config
:
LoggerConfig
,
tag
:
String
=
""
)
Types
Companion
Link copied to clipboard
object
Companion
:
Logger
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
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
)
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
)
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
)
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
)
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
)
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
)
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
)
with
Tag
Link copied to clipboard
fun
withTag
(
tag
:
String
)
:
Logger