Skip to content

Commit

Permalink
fixed logging in component to use shared logger; v0.12.106
Browse files Browse the repository at this point in the history
  • Loading branch information
holgerbrandl committed Mar 18, 2024
1 parent 0f18385 commit 2459352
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Expand Up @@ -12,7 +12,7 @@ plugins {
}

group = "com.github.holgerbrandl"
version = "0.12.105"
version = "0.12.106"
//version = "2023.1-SNAPSHOT"
//version = "0.12-SNAPSHOT"

Expand Down
4 changes: 3 additions & 1 deletion src/main/kotlin/org/kalasim/Component.kt
Expand Up @@ -171,6 +171,9 @@ open class TickedComponent(

}

val logger = KotlinLogging.logger {}



/**
* A kalasim component is used as component (primarily for queueing) or as a component with a process.
Expand Down Expand Up @@ -199,7 +202,6 @@ open class Component(
// builder: SequenceScope<Component>.() -> Unit = { }
) : SimulationEntity(name, koin) {

val logger = KotlinLogging.logger(this.name)

private var oneOfRequest: Boolean = false

Expand Down

0 comments on commit 2459352

Please sign in to comment.