Class 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 Detail

      • LogFormatter

        public LogFormatter()
        Constructs a formatter.
    • Method Detail

      • 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