Factory

interface Factory

可以 service 实现的方式覆盖.

Since

2.7

Inheritors

Types

Link copied to clipboard

Functions

Link copied to clipboard
open fun create(requester: <Error class: unknown class><out <Error class: unknown class>>): MiraiLogger
open fun create(requester: KClass<*>): MiraiLogger
abstract fun create(requester: <Error class: unknown class><out <Error class: unknown class>>, identity: String? = null): MiraiLogger
open fun create(requester: KClass<*>, identity: String? = null): MiraiLogger

创建 MiraiLogger 实例.