From e1a5873a0e1f8ee9179d9e6a3ba7f47fcf46272c Mon Sep 17 00:00:00 2001 From: sergeych Date: Mon, 6 Jan 2025 21:09:48 +0300 Subject: [PATCH] less noise --- build.gradle.kts | 2 +- src/commonMain/kotlin/net.sergeych.parsec3/KVStorage.kt | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index fc94124..2b0433b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -10,7 +10,7 @@ plugins { } group = "net.sergeych" -version = "0.5.2" +version = "0.5.3" repositories { mavenCentral() diff --git a/src/commonMain/kotlin/net.sergeych.parsec3/KVStorage.kt b/src/commonMain/kotlin/net.sergeych.parsec3/KVStorage.kt index ce6c1bd..46d7872 100644 --- a/src/commonMain/kotlin/net.sergeych.parsec3/KVStorage.kt +++ b/src/commonMain/kotlin/net.sergeych.parsec3/KVStorage.kt @@ -6,7 +6,6 @@ import net.sergeych.mp_logger.LogTag import net.sergeych.mp_logger.exception import net.sergeych.mp_logger.info import net.sergeych.mptools.encodeToHex -import net.sergeych.mptools.toDump import kotlin.reflect.KProperty import kotlin.reflect.KType import kotlin.reflect.typeOf @@ -92,7 +91,6 @@ class KVStorageDelegate( cachedValue = try { info { " get ${name(property)}: ${type} [{${data.encodeToHex()}" } BossDecoder.decodeFrom(type, data) - .also { println("decoded as $it") } } catch (e: Exception) { exception { "failed to decode ${name(property)}: ${type}" to e } defaultValue @@ -105,7 +103,6 @@ class KVStorageDelegate( // if (!cacheReady || value != cachedValue) { cachedValue = value cacheReady = true - println("set ${name(property)} to ${BossEncoder.encode(type, value).toDump()}") storage[name(property)] = BossEncoder.encode(type, value) // } }