acidify-core
Toggle table of contents
0.3.0
common
Target filter
common
Switch theme
Search in API
Skip to content
acidify-core
acidify-core
/
org.ntqqrev.acidify.logging
/
LogMessage
Log
Message
class
LogMessage
(
val
level
:
LogLevel
,
val
tag
:
String
,
val
messageSupplier
:
suspend
(
)
->
String
,
val
throwable
:
Throwable
?
=
null
)
(
source
)
日志消息
Members
Constructors
Log
Message
Link copied to clipboard
constructor
(
level
:
LogLevel
,
tag
:
String
,
messageSupplier
:
suspend
(
)
->
String
,
throwable
:
Throwable
?
=
null
)
Properties
level
Link copied to clipboard
val
level
:
LogLevel
日志级别
message
Supplier
Link copied to clipboard
val
messageSupplier
:
suspend
(
)
->
String
延迟提供的日志消息
tag
Link copied to clipboard
val
tag
:
String
日志标签
throwable
Link copied to clipboard
val
throwable
:
Throwable
?
可选的异常对象,仅在 WARN 或 ERROR 级别时提供