Class EventLogger


  • public class EventLogger
    extends java.lang.Object
    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()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Constructor Detail

      • EventLogger

        public EventLogger()
    • Method Detail

      • numNewLogEntriesProperty

        public org.reactfx.value.Val<java.lang.Integer> numNewLogEntriesProperty()
        Number of log entries that were not yet examined by the user.
      • 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.