mirai
2.15.0-M1
android
common
jvm
native
mirai-core-api
/
net.mamoe.mirai.utils
/
PlatformLogger
/
PlatformLogger
Platform
Logger
android
common
jvm
native
actual
constructor
(
identity
:
String
?
)
@
JvmOverloads
expect
constructor
(
identity
:
String
?
=
"Mirai"
)
constructor
(
identity
:
String
?
,
output
:
(
String
)
->
Unit
=
::println
)
actual
constructor
(
identity
:
String
?
)
constructor
(
identity
:
String
?
=
"Mirai"
,
output
:
(
String
)
->
Unit
,
isColored
:
Boolean
=
true
)
Parameters
is
Colored
是否添加 ANSI 颜色
actual
constructor
(
identity
:
String
?
)