Commit fa807532 authored by Him188's avatar Him188

Update docs

parent ec485a8b
...@@ -42,8 +42,8 @@ open class BotConfiguration { ...@@ -42,8 +42,8 @@ open class BotConfiguration {
* *
* - 默认打印到标准输出, 通过 [DefaultLogger] * - 默认打印到标准输出, 通过 [DefaultLogger]
* - 忽略所有日志: [noBotLog] * - 忽略所有日志: [noBotLog]
* - 重定向到一个目录: `networkLoggerSupplier = { bot -> DirectoryLogger("Net ${it.id}") }` * - 重定向到一个目录: `networkLoggerSupplier = { DirectoryLogger("Net ${it.id}") }`
* - 重定向到一个文件: `networkLoggerSupplier = { bot -> SingleFileLogger("Net ${it.id}") }` * - 重定向到一个文件: `networkLoggerSupplier = { SingleFileLogger("Net ${it.id}") }`
* *
* @see MiraiLogger * @see MiraiLogger
*/ */
...@@ -54,8 +54,8 @@ open class BotConfiguration { ...@@ -54,8 +54,8 @@ open class BotConfiguration {
* *
* - 默认打印到标准输出, 通过 [DefaultLogger] * - 默认打印到标准输出, 通过 [DefaultLogger]
* - 忽略所有日志: [noNetworkLog] * - 忽略所有日志: [noNetworkLog]
* - 重定向到一个目录: `networkLoggerSupplier = { bot -> DirectoryLogger("Net ${it.id}") }` * - 重定向到一个目录: `networkLoggerSupplier = { DirectoryLogger("Net ${it.id}") }`
* - 重定向到一个文件: `networkLoggerSupplier = { bot -> SingleFileLogger("Net ${it.id}") }` * - 重定向到一个文件: `networkLoggerSupplier = { SingleFileLogger("Net ${it.id}") }`
* *
* @see MiraiLogger * @see MiraiLogger
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment