bettermodel
Toggle table of contents
3.8.0-SNAPSHOT-552
bettermodel-api
Target filter
bettermodel-api
Switch theme
Search in API
Skip to content
bettermodel
bettermodel-api
/
kr.toxicity.model.api.util
/
LogUtil
Log
Util
@
ApiStatus.Internal
class
LogUtil
Log util
Members
Companion functions
debug
Link copied to clipboard
open
fun
debug
(
@
NotNull
option
:
DebugConfig.DebugOption
,
@
NotNull
runnable
:
@
NotNull
Runnable
)
Runs debug if some option is matched.
open
fun
debug
(
@
NotNull
option
:
DebugConfig.DebugOption
,
@
NotNull
log
:
@
NotNull
Supplier
<
String
>
)
Logs debug if some option is matched.
handle
Exception
Link copied to clipboard
open
fun
handleException
(
@
NotNull
message
:
@
NotNull
String
,
@
NotNull
throwable
:
@
NotNull
Throwable
)
Handles exception message
to
Log
Link copied to clipboard
@
NotNull
open
fun
toLog
(
@
NotNull
message
:
@
NotNull
String
,
@
NotNull
color
:
@
NotNull
TextColor
)
:
@
NotNull
Component
Gets log component