-
public final class LogDomainProvides access to log entries.
-
-
Method Summary
Modifier and Type Method Description final Flow<LogEvent>events()Subscribes to all events related to this domain. final Flow<LogEvent.EntryAddedEvent>entryAdded()Issued when new message was logged. final Unitclear()Clears the log. final Unitdisable()Disables log domain, prevents further log entries from being reported to the client. final Unitenable()Enables log domain, sends the entries collected so far to the client by means of the entryAddednotification.final UnitstartViolationsReport(StartViolationsReportRequest input)start violation reporting. final UnitstopViolationsReport()Stop violation reporting. -
-
Method Detail
-
entryAdded
final Flow<LogEvent.EntryAddedEvent> entryAdded()
Issued when new message was logged.
-
disable
final Unit disable()
Disables log domain, prevents further log entries from being reported to the client.
-
enable
final Unit enable()
Enables log domain, sends the entries collected so far to the client by means of the
entryAddednotification.
-
startViolationsReport
final Unit startViolationsReport(StartViolationsReportRequest input)
start violation reporting.
-
stopViolationsReport
final Unit stopViolationsReport()
Stop violation reporting.
-
-
-
-