CryptoTraderLoggingAutoConfig

@AutoConfiguration
@ConditionalOnClass(value = [Aspect::class, ProceedingJoinPoint::class, Logger::class])
@EnableConfigurationProperties(value = [CryptoTraderLoggingProperties::class, TimeTrackingProperties::class])
open class CryptoTraderLoggingAutoConfig

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@Bean
@ConditionalOnMissingBean
@ConditionalOnClass(value = StreamBridge::class)
@ConditionalOnBean(value = StreamBridge::class)
open fun eventPublisher(streamBridge: StreamBridge): EventPublisher
Link copied to clipboard
@Bean
@ConditionalOnMissingBean(name = "globalExceptionHandler")
@ConditionalOnProperty(prefix = "cryptotrader.exceptions", name = "enabled", havingValue = "true", matchIfMissing = true)
open fun globalExceptionHandler(): GlobalExceptionHandler
Link copied to clipboard
@Bean
@ConditionalOnMissingBean
open fun logEventsPublisher(@Autowired(required = false) eventPublisher: EventPublisher): LogEventsPublisher
Link copied to clipboard
@Bean
@ConditionalOnMissingBean
open fun timeTrackingAspect(@Autowired(required = false) logEventsPublisher: LogEventsPublisher, timeTrackingProperties: TimeTrackingProperties): TimeTrackingAspect