Update dependency org.lighthousegames:logging to v2 (#177)

* Update dependency org.lighthousegames:logging to v2

* Move to new imports

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Syer10 <syer10@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2025-10-07 13:28:45 -04:00
committed by GitHub
parent f9130fe4da
commit 3b072c2d6b
88 changed files with 90 additions and 90 deletions

View File

@@ -20,7 +20,7 @@ import kotlinx.coroutines.flow.flatMapLatest
import kotlinx.coroutines.flow.onStart
import kotlinx.coroutines.launch
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class ServerListeners {

View File

@@ -11,7 +11,7 @@ import io.ktor.client.request.HttpRequestBuilder
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.singleOrNull
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class ExportBackupFile(

View File

@@ -13,7 +13,7 @@ import me.tatarka.inject.annotations.Inject
import okio.FileSystem
import okio.Path
import okio.SYSTEM
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class ImportBackupFile(

View File

@@ -13,7 +13,7 @@ import me.tatarka.inject.annotations.Inject
import okio.FileSystem
import okio.Path
import okio.SYSTEM
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class ValidateBackupFile(

View File

@@ -24,7 +24,7 @@ import kotlinx.coroutines.flow.launchIn
import kotlinx.coroutines.flow.mapLatest
import kotlinx.coroutines.flow.receiveAsFlow
import kotlinx.serialization.json.Json
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@OptIn(DelicateCoroutinesApi::class)
abstract class WebsocketService(

View File

@@ -15,7 +15,7 @@ import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.flow.flow
import kotlinx.coroutines.flow.map
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class AddMangaToCategory(

View File

@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.category.service.CategoryRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class CreateCategory(

View File

@@ -11,7 +11,7 @@ import ca.gosyer.jui.domain.category.service.CategoryRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class DeleteCategory(

View File

@@ -11,7 +11,7 @@ import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.map
import kotlinx.coroutines.flow.singleOrNull
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class GetCategories(

View File

@@ -11,7 +11,7 @@ import ca.gosyer.jui.domain.manga.model.Manga
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.singleOrNull
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class GetMangaCategories(

View File

@@ -13,7 +13,7 @@ import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.singleOrNull
import kotlinx.coroutines.flow.take
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class GetMangaListFromCategory(

View File

@@ -11,7 +11,7 @@ import ca.gosyer.jui.domain.category.service.CategoryRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class ModifyCategory(

View File

@@ -15,7 +15,7 @@ import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.flow.flow
import kotlinx.coroutines.flow.map
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class RemoveMangaFromCategory(

View File

@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.category.service.CategoryRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class ReorderCategory(

View File

@@ -12,7 +12,7 @@ import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.flow.flow
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class UpdateCategoryMeta(

View File

@@ -13,7 +13,7 @@ import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.flow.onEach
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
import kotlin.jvm.JvmName
@Inject

View File

@@ -13,7 +13,7 @@ import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.singleOrNull
import kotlinx.coroutines.flow.take
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class GetChapter(

View File

@@ -11,7 +11,7 @@ import io.ktor.client.request.HttpRequestBuilder
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.singleOrNull
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class GetChapterPages(

View File

@@ -13,7 +13,7 @@ import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.singleOrNull
import kotlinx.coroutines.flow.take
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class GetChapters(

View File

@@ -13,7 +13,7 @@ import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.onEach
import kotlinx.coroutines.flow.singleOrNull
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class RefreshChapters(

View File

@@ -13,7 +13,7 @@ import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.flow.onEach
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
import kotlin.jvm.JvmName
@Inject

View File

@@ -13,7 +13,7 @@ import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.flow.flow
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class UpdateChapterMeta(

View File

@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.download.service.DownloadRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class BatchChapterDownload(

View File

@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.download.service.DownloadRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class ClearDownloadQueue(

View File

@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.download.service.DownloadRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class QueueChapterDownload(

View File

@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.download.service.DownloadRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class ReorderChapterDownload(

View File

@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.download.service.DownloadRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class StartDownloading(

View File

@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.download.service.DownloadRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class StopChapterDownload(

View File

@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.download.service.DownloadRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class StopDownloading(

View File

@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.extension.service.ExtensionRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.singleOrNull
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class GetExtensionList(

View File

@@ -11,7 +11,7 @@ import ca.gosyer.jui.domain.extension.service.ExtensionRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class InstallExtension(

View File

@@ -13,7 +13,7 @@ import me.tatarka.inject.annotations.Inject
import okio.FileSystem
import okio.Path
import okio.SYSTEM
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class InstallExtensionFile(

View File

@@ -11,7 +11,7 @@ import ca.gosyer.jui.domain.extension.service.ExtensionRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class UninstallExtension(

View File

@@ -11,7 +11,7 @@ import ca.gosyer.jui.domain.extension.service.ExtensionRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class UpdateExtension(

View File

@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.global.service.GlobalRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.singleOrNull
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class GetGlobalMeta(

View File

@@ -12,7 +12,7 @@ import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.flow.flow
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class UpdateGlobalMeta(

View File

@@ -13,7 +13,7 @@ import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.onEach
import kotlinx.coroutines.flow.singleOrNull
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class AddMangaToLibrary(

View File

@@ -13,7 +13,7 @@ import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.onEach
import kotlinx.coroutines.flow.singleOrNull
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class RemoveMangaFromLibrary(

View File

@@ -14,7 +14,7 @@ import io.ktor.websocket.Frame
import io.ktor.websocket.readText
import kotlinx.coroutines.flow.MutableStateFlow
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class LibraryUpdateService(

View File

@@ -13,7 +13,7 @@ import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.singleOrNull
import kotlinx.coroutines.flow.take
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class GetManga(

View File

@@ -14,7 +14,7 @@ import kotlinx.coroutines.flow.onEach
import kotlinx.coroutines.flow.singleOrNull
import kotlinx.coroutines.flow.take
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class RefreshManga(

View File

@@ -15,7 +15,7 @@ import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.flow.flow
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class UpdateMangaMeta(

View File

@@ -30,7 +30,7 @@ import io.ktor.http.URLBuilder
import io.ktor.http.URLProtocol
import io.ktor.serialization.kotlinx.json.json
import kotlinx.serialization.json.Json
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
import kotlin.time.Duration.Companion.minutes
import kotlin.time.Duration.Companion.seconds
import io.ktor.client.plugins.auth.Auth as AuthPlugin

View File

@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.settings.service.SettingsRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.singleOrNull
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class AboutServer(

View File

@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.settings.service.SettingsRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.singleOrNull
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class GetSettings(

View File

@@ -11,7 +11,7 @@ import ca.gosyer.jui.domain.settings.service.SettingsRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.singleOrNull
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class SetSettings(

View File

@@ -11,7 +11,7 @@ import ca.gosyer.jui.domain.source.service.SourceRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.singleOrNull
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class GetFilterList(

View File

@@ -11,7 +11,7 @@ import ca.gosyer.jui.domain.source.service.SourceRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.singleOrNull
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class GetLatestManga(

View File

@@ -11,7 +11,7 @@ import ca.gosyer.jui.domain.source.service.SourceRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.singleOrNull
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class GetPopularManga(

View File

@@ -12,7 +12,7 @@ import ca.gosyer.jui.domain.source.service.SourceRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.singleOrNull
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class GetSearchManga(

View File

@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.source.service.SourceRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.singleOrNull
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class GetSourceList(

View File

@@ -11,7 +11,7 @@ import ca.gosyer.jui.domain.source.service.SourceRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.singleOrNull
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class GetSourceSettings(

View File

@@ -11,7 +11,7 @@ import ca.gosyer.jui.domain.source.service.SourceRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class SetSourceSetting(

View File

@@ -27,7 +27,7 @@ import kotlinx.coroutines.launch
import kotlinx.coroutines.sync.Mutex
import me.tatarka.inject.annotations.Assisted
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
fun interface GetMangaPage {
suspend fun get(page: Int): MangaPage?

View File

@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.updates.service.UpdatesRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.singleOrNull
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class GetRecentUpdates(

View File

@@ -11,7 +11,7 @@ import ca.gosyer.jui.domain.updates.service.UpdatesRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class UpdateCategory(

View File

@@ -19,7 +19,7 @@ import kotlinx.coroutines.flow.flow
import kotlinx.coroutines.flow.flowOn
import kotlinx.coroutines.flow.singleOrNull
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class UpdateChecker(

View File

@@ -10,7 +10,7 @@ import ca.gosyer.jui.domain.updates.service.UpdatesRepository
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import me.tatarka.inject.annotations.Inject
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
@Inject
class UpdateLibrary(

View File

@@ -27,7 +27,7 @@ import okio.Path
import okio.Path.Companion.toPath
import okio.buffer
import okio.source
import org.lighthousegames.logging.logging
import com.diamondedge.logging.logging
import java.io.File.pathSeparatorChar
import java.io.IOException
import java.io.Reader