pull/36/head
kunfei 5 years ago
parent 97c8fa5953
commit 91e3ae3c5d
  1. 4
      app/src/main/java/io/legado/app/utils/LogUtils.kt

@ -30,8 +30,10 @@ object LogUtils {
}
private val fileHandler by lazy {
val logFolder = FileHelp.getCachePath() + File.separator + "logs"
FileHelp.getFolder(logFolder)
FileHandler(
FileHelp.getCachePath() + File.separator + "logs" + File.separator + "app.log",
logFolder + File.separator + "app.log",
2048,
10
).apply {

Loading…
Cancel
Save