Quellcode durchsuchen

Fix document of BotConfiguration.botLoggerSupplier (#1021)

Noire vor 5 Jahren
Ursprung
Commit
4555962049
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      mirai-core-api/src/commonMain/kotlin/utils/BotConfiguration.kt

+ 2 - 2
mirai-core-api/src/commonMain/kotlin/utils/BotConfiguration.kt

@@ -277,8 +277,8 @@ public open class BotConfiguration { // open for Java
      *
      * - 默认打印到标准输出, 通过 [MiraiLogger.create]
      * - 忽略所有日志: [noBotLog]
-     * - 重定向到一个目录: `networkLoggerSupplier = { DirectoryLogger("Net ${it.id}") }`
-     * - 重定向到一个文件: `networkLoggerSupplier = { SingleFileLogger("Net ${it.id}") }`
+     * - 重定向到一个目录: `botLoggerSupplier = { DirectoryLogger("Bot ${it.id}") }`
+     * - 重定向到一个文件: `botLoggerSupplier = { SingleFileLogger("Bot ${it.id}") }`
      *
      * @see MiraiLogger
      */