Module hw06

Interface IStringLogEntryProcessor

All Superinterfaces:
ILogEntryProcessor
All Known Implementing Classes:
AStringLogEntryProcessor, LoggerPanel

public interface IStringLogEntryProcessor extends ILogEntryProcessor
An abstract log entry processor that converts a log entry into a String that is then displayed, stored, transmitted, etc. This mutable processor enable the internal ILogEntryFormatter in use to be accessed and mutated.
Author:
swong
  • Method Details

    • setLogEntryFormatter

      void setLogEntryFormatter(ILogEntryFormatter leFormatter)
      Set the log entry formatter in use to be the given formatter
      Parameters:
      leFormatter - The new log entry formatter to use
    • getLogEntryFormatter

      ILogEntryFormatter getLogEntryFormatter()
      Get the current log entry formatter in use
      Returns:
      The log entry formatter in use