Skip to content

Commit

Permalink
change source set dir
Browse files Browse the repository at this point in the history
  • Loading branch information
dsvag committed Mar 4, 2024
1 parent 72f25cc commit 3bb963a
Show file tree
Hide file tree
Showing 26 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.SupervisorJob
import money.vivid.elmslie.core.config.ElmslieConfig

@SuppressWarnings("detekt.FunctionNaming")
@Suppress("detekt.FunctionNaming")
fun ElmScope(name: String): CoroutineScope =
CoroutineScope(
context =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@ package money.vivid.elmslie.core.config

import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.IO
import money.vivid.elmslie.core.logger.ElmslieLogConfiguration
import money.vivid.elmslie.core.logger.ElmslieLogger
import money.vivid.elmslie.core.logger.strategy.IgnoreLog
import money.vivid.elmslie.core.store.StoreListener
import kotlin.concurrent.Volatile

object ElmslieConfig {

@Volatile private lateinit var _logger: ElmslieLogger
@Volatile
private lateinit var _logger: ElmslieLogger

@Volatile private lateinit var _ioDispatchers: CoroutineDispatcher

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ElmslieLogConfiguration {

/** Apply the same logging strategy to all log levels */
fun always(strategy: LogStrategy) = apply {
LogSeverity.values().forEach { strategies[it] = strategy }
LogSeverity.entries.forEach { strategies[it] = strategy }
}

internal fun build() = ElmslieLogger(strategies)
Expand Down

0 comments on commit 3bb963a

Please sign in to comment.