From 479aff2feb7c181f6e3c4ac94ad6d0e5f57bc0f7 Mon Sep 17 00:00:00 2001 From: Gauthier Roebroeck Date: Mon, 22 Jan 2024 10:58:20 +0800 Subject: [PATCH] refactor(komga): use lazy logging statement --- .../kotlin/org/gotson/komga/domain/service/BookConverter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/komga/src/main/kotlin/org/gotson/komga/domain/service/BookConverter.kt b/komga/src/main/kotlin/org/gotson/komga/domain/service/BookConverter.kt index 04fe836b..c66ed874 100644 --- a/komga/src/main/kotlin/org/gotson/komga/domain/service/BookConverter.kt +++ b/komga/src/main/kotlin/org/gotson/komga/domain/service/BookConverter.kt @@ -180,7 +180,7 @@ class BookConverter( if (book.path.extension.lowercase() == "epub" && media.mediaType == MediaType.ZIP.type) { skippedRepairs += book.id - logger.info("EPUB file detected as zip should not be repaired, skipping: ${book.path}") + logger.info { "EPUB file detected as zip should not be repaired, skipping: ${book.path}" } return }