Class LogStoreConsole

  • All Implemented Interfaces:
    LogStore

    public final class LogStoreConsole
    extends java.lang.Object
    implements LogStore
    The simplest implementation of the LogStore interface, which posts messages to the console (the "standard" error output stream).
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static LogStore INSTANCE  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void append​(LogEntry entry)
      Appends a record to the log store.
      • Methods inherited from class java.lang.Object

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

      • INSTANCE

        public static LogStore INSTANCE
    • Method Detail

      • append

        public void append​(LogEntry entry)
        Description copied from interface: LogStore
        Appends a record to the log store.
        Specified by:
        append in interface LogStore
        Parameters:
        entry - A log entry object. Stores detailed information bout the event.