Class AnalysisLogging
java.lang.Object
dev.archunitjava.diagnostics.AnalysisLogging
Explicit per-check observer; no global logger, files, timestamps or implicit console writes.
Sink runtime failures are isolated so logging cannot replace a rule result or execution error.
Callers own sink lifetime, flushing and concurrency. Fatal VM errors are not intercepted.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AnalysisLoggingdisabled()voidbooleanstatic Stringformat(AnalysisEvent event, boolean color) level()static AnalysisLoggingof(LogLevel level, Consumer<AnalysisEvent> sink) static AnalysisLoggingtext(LogLevel level, Appendable destination) Plain text is the conservative default for appendable destinations such as files.static AnalysisLoggingtext(LogLevel level, Appendable destination, ConsoleColor color)
-
Method Details
-
disabled
-
of
-
text
Plain text is the conservative default for appendable destinations such as files. -
text
-
level
-
enabled
-
emit
-
format
-