Class TerseFormatter

java.lang.Object
java.util.logging.Formatter
org.openqa.selenium.grid.log.TerseFormatter

public class TerseFormatter extends Formatter
Custom java.util.logging formatter providing compact output.
  • Constructor Details

    • TerseFormatter

      public TerseFormatter(String logTimestampFormat)
  • Method Details

    • format

      public String format(LogRecord record)
      Format the given log record and return the formatted string.
      Specified by:
      format in class Formatter
      Parameters:
      record - the log record to be formatted.
      Returns:
      a formatted log record