chore: introduce logger and save log into file

This commit is contained in:
2024-10-07 19:13:51 +08:00
parent 91906d9711
commit b0ae938722
7 files changed
+56 -9

No files matched your search

@@ -31,7 +31,8 @@ fun initCommandAndItem(rob: ROneBotFactory) {
}
fun initFilesDir() {
File("./$ROOT_PATH/caches/images").also { it.mkdirs() }
File("$ROOT_PATH/caches/images").also { it.mkdirs() }
File("$ROOT_PATH/logs").also { it.mkdirs() }
}
fun initSetuIndex() {