Class ConsoleLogger

  • All Implemented Interfaces:
    IObserver

    public class ConsoleLogger
    extends java.lang.Object
    implements IObserver
    Widget that captures and displays messages in a GUI.
    • Constructor Summary

      Constructors 
      Constructor Description
      ConsoleLogger()  
      ConsoleLogger​(boolean writeDates, boolean useHistorical)
      Initializes the notifications interface.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dispose()  
      void notify​(Events event, java.lang.Object... data)  
      void unsubscribe()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConsoleLogger

        public ConsoleLogger()
      • ConsoleLogger

        public ConsoleLogger​(boolean writeDates,
                             boolean useHistorical)
        Initializes the notifications interface.
        Parameters:
        writeDates - Log the date and time.
        useHistorical - Keep logs.
    • Method Detail

      • unsubscribe

        public void unsubscribe()
      • notify

        public void notify​(Events event,
                           java.lang.Object... data)
        Specified by:
        notify in interface IObserver
      • dispose

        public void dispose()