Class GSSimpleFormatter

java.lang.Object
java.util.logging.Formatter
com.gigaspaces.logger.GSSimpleFormatter
Direct Known Subclasses:
AuditFormatter

public class GSSimpleFormatter extends Formatter
Print a brief summary of the LogRecord in a human readable messageFormat. This class is a variation of SimpleFormatter, that was customized for GigaSpaces purposes.
Version:
5.1
Author:
Alex Beresnev
  • Constructor Details

    • GSSimpleFormatter

      public GSSimpleFormatter()
    • GSSimpleFormatter

      public GSSimpleFormatter(String pattern)
  • Method Details

    • format

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

      protected void setArgsWithRecordData(LogRecord record)
    • setArgsWithRecordExtension

      public String setArgsWithRecordExtension(LogRecord record)