com.gigaspaces.logger
Class GSSimpleFormatter
java.lang.Object
  
java.util.logging.Formatter
      
com.gigaspaces.logger.GSSimpleFormatter
public class GSSimpleFormatter
- extends Formatter
 
Print a brief summary of the LogRecord in a human readable
 format. This class is a variation of SimpleFormatter,
 that was customized for GigaSpaces purposes.
 
| 
Method Summary | 
 String | 
format(LogRecord record)
 
          Format the given LogRecord. | 
static void | 
setFormat(String format)
 
          Set format value. the default is a short format, e.g. "{0,date}
 {0,time}\n{3} [{4}]: {5}\n" 
 
 This value can be changed via log configuration file. | 
 
 
 
GSSimpleFormatter
public GSSimpleFormatter()
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
 
 
 
setFormat
public static void setFormat(String format)
- Set format value. the default is a short format, e.g. "{0,date}
 {0,time}\n{3} [{4}]: {5}\n" 
 
 This value can be changed via log configuration file.