Factory

expect interface Factory

可以 service 实现的方式覆盖.

Since

2.7

Inheritors

actual interface Factory

可以 service 实现的方式覆盖.

Since

2.7

Inheritors

actual interface Factory

可以 service 实现的方式覆盖.

Since

2.7

Inheritors

Types

Link copied to clipboard

Functions

Link copied to clipboard
expect open fun create(requester: KClass<*>): MiraiLogger
expect open fun create(requester: KClass<*>, identity: String? = null): MiraiLogger

创建 MiraiLogger 实例.

open fun create(requester: Class<*>): MiraiLogger
actual open fun create(requester: KClass<*>): MiraiLogger
abstract fun create(requester: Class<*>, identity: String? = null): MiraiLogger
actual open fun create(requester: KClass<*>, identity: String?): MiraiLogger

创建 MiraiLogger 实例.

actual open fun create(requester: KClass<*>): MiraiLogger
actual open fun create(requester: KClass<*>, identity: String?): MiraiLogger

创建 MiraiLogger 实例.