chore: introduce logger and save log into file
This commit is contained in:
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() {
|
||||
|
||||
Reference in New Issue
Block a user