Class EventLogger
- java.lang.Object
-
- net.sourceforge.pmd.util.fxdesigner.app.EventLogger
-
- All Implemented Interfaces:
ApplicationComponent
public class EventLogger extends java.lang.Object implements ApplicationComponent
Logs events. Stores the whole log in case no view was open.- Since:
- 6.0.0
- Author:
- Clément Fournier
-
-
Constructor Summary
Constructors Constructor Description EventLogger(DesignerRoot designerRoot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DesignerRoot
getDesignerRoot()
org.reactfx.collection.LiveList<LogEntry>
getLog()
Returns the full log.void
logEvent(LogEntry event)
org.reactfx.value.Val<java.lang.Integer>
numLogEntriesProperty()
Total number of log entries.org.reactfx.value.Val<java.lang.Integer>
numNewLogEntriesProperty()
Number of log entries that were not yet examined by the user.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.pmd.util.fxdesigner.app.ApplicationComponent
getDebugName, getLogger, getMainStage, isDeveloperMode, logInternalDebugInfo, logInternalException, logMessageTrace, logUserException, raiseParsableSourceFlag, raiseParsableXPathFlag
-
-
-
-
Constructor Detail
-
EventLogger
public EventLogger(DesignerRoot designerRoot)
-
-
Method Detail
-
numNewLogEntriesProperty
public org.reactfx.value.Val<java.lang.Integer> numNewLogEntriesProperty()
Number of log entries that were not yet examined by the user.
-
getDesignerRoot
public DesignerRoot getDesignerRoot()
- Specified by:
getDesignerRoot
in interfaceApplicationComponent
-
numLogEntriesProperty
public org.reactfx.value.Val<java.lang.Integer> numLogEntriesProperty()
Total number of log entries.
-
logEvent
public void logEvent(LogEntry event)
-
getLog
public org.reactfx.collection.LiveList<LogEntry> getLog()
Returns the full log.
-
-