Correctly set name of logger (#956)

This commit is contained in:
schroda
2024-06-03 02:33:32 +02:00
committed by GitHub
parent c1fe2da636
commit e64025ded8
2 changed files with 2 additions and 2 deletions

View File

@@ -390,7 +390,7 @@ object Manga {
logContext: KLogger = logger,
mangaId: Int,
): Boolean {
val log = KotlinLogging.logger { "${logContext.name}::isInExcludedDownloadCategory($mangaId)" }
val log = KotlinLogging.logger("${logContext.name}::isInExcludedDownloadCategory($mangaId)")
// Verify the manga is configured to be downloaded based on it's categories.
var mangaCategories = CategoryManga.getMangaCategories(mangaId).toSet()