ESchouten
08/06/2021, 4:24 PMAndika Wasisto
08/19/2021, 7:04 AMESchouten
08/25/2021, 10:55 AMAndika Wasisto
08/27/2021, 7:52 AMI'd implement it in a new adapter and inject it into the usecases via an interface@ESchouten I assume you would implement it in
adapters/logging/src/main/kotlin/logging/LoggerImpl.kt
. Where would you put the Logger
interface? Assuming the interface will be used by both the use case layer and the adapter layerESchouten
08/27/2021, 8:56 AMAndika Wasisto
08/30/2021, 12:36 PMLogger
interface will be used by multiple layers, not just the use case layer, I think it's better to create a common
or sharedkernel
module to contain these cross-cutting components
References:
https://github.com/ardalis/CleanArchitecture/tree/main/src
https://github.com/jasontaylordev/NorthwindTraders/tree/master/Src