Atmos version 1.3
Reworked atmos.retries.EventMonitor.PrintEvents
:
- Converted
PrintEvents
into a trait and extracted two concrete subtypes,PrintEventsWithStream
and
PrintEventsWithWriter
. - Deprecated the use of booleans to signal whether a stack trace should be printed for a particular event. The
booleans are replaced byPrintEvents.PrintAction
, asealed trait
/case object
enumeration capable of
representing any number of printing strategies. - Modified the retry DSL to support concise configuration of print actions on event monitors derived from print
streams and print writers.
Reworked atmos.retries.EventMonitor.LogEvents
:
- Converted
LogEvents
into a trait and extracted the concrete subtypeLogEventsWithJava
. - Deprecated the use of log levels to describe behavior when called with a particular event. The levels are replaced
byLogEvents.LogAction
, asealed trait
/case object
enumeration capable of representing any number of logging
strategies. - Modified the retry DSL to support concise configuration of log actions on event monitors derived from Java loggers.
Reworked the Slf4j support in atmos.retries.EventMonitor
:
- Created
LogEventsWithSlf4j
as a subtype ofLogEvents
. - Converted
LogEventsToSlf4j
into a deprecated collection of aliases to aspects ofLogEventsWithSlf4j
. - Deprecated the use of log levels to describe behavior when called with a particular event, replacing them with
LogEvents.LogAction
, asealed trait
/case object
enumeration capable of representing any number of logging
strategies. - Modified the retry DSL to support concise configuration of log actions on event monitors derived from Slf4j loggers.
Added support for asynchronous monitoring with Akka to atmos.retries
:
- Created
LogEventsWithAkka
as a subtype ofLogEvents
. - Modified the retry DSL to support concise configuration of log actions on event monitors derived from Akka logging
adapters.