Class LogFormatter

java.lang.Object
java.util.logging.Formatter
com.pervasive.datarush.util.LogFormatter

public class LogFormatter extends Formatter
A simple formatter for use with DataRush applications. This formatter includes the logger name in the log output, for diagnostic purposes. It works together with logging done by an ExecutableOperator, which makes the logger name reveal the location of the node logging the message.
  • Constructor Details

    • LogFormatter

      public LogFormatter()
      Constructs a formatter.
  • Method Details

    • format

      public String format(LogRecord record)
      Formats the given LogRecord
      Specified by:
      format in class Formatter
      Parameters:
      record - the record to format
      Returns:
      the formatted record