From d7905df50b1880f676bdf8ed94bd0d08f5e640fa Mon Sep 17 00:00:00 2001 From: Vitaly Pestryakov <34812712+dsvag@users.noreply.github.com> Date: Wed, 24 Jan 2024 17:35:15 +0300 Subject: [PATCH] resolve conflicts --- .../money/vivid/elmslie/core/logger/ElmslieLogConfiguration.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elmslie-core/src/main/kotlin/money/vivid/elmslie/core/logger/ElmslieLogConfiguration.kt b/elmslie-core/src/main/kotlin/money/vivid/elmslie/core/logger/ElmslieLogConfiguration.kt index c3220428..7afa7096 100644 --- a/elmslie-core/src/main/kotlin/money/vivid/elmslie/core/logger/ElmslieLogConfiguration.kt +++ b/elmslie-core/src/main/kotlin/money/vivid/elmslie/core/logger/ElmslieLogConfiguration.kt @@ -23,7 +23,7 @@ class ElmslieLogConfiguration { /** Apply the same logging strategy to all log levels */ fun always(strategy: LogStrategy) = apply { - LogSeverity.entries.forEach { strategies[it] = strategy } + LogSeverity.values().forEach { strategies[it] = strategy } } internal fun build() = ElmslieLogger(strategies)