redirectBotLogToDirectory    
  fun redirectBotLogToDirectory(    dir: <ERROR CLASS> = File("logs"),     retain: Long = 1.weeksToMillis,     identity: (bot: Bot) -> String = { "Bot ${it.id}" })
Content copied to clipboard
重定向 Bot 日志 到指定目录. 若目录不存在将会自动创建 (File.mkdirs)