Class NiceLogFormatter
- java.lang.Object
-
- java.util.logging.Formatter
-
- com.sun.enterprise.ee.cms.logging.NiceLogFormatter
-
public class NiceLogFormatter extends java.util.logging.FormatterNiceLogFormatter conforms to the logging format defined by the Log Working Group in Java Webservices Org. The specified format is "[#|DATETIME|LOG_LEVEL|PRODUCT_ID|LOGGER NAME|OPTIONAL KEY VALUE PAIRS| MESSAGE|#]\n"- Version:
- $Revision$
- Author:
- Shreedhar Ganapathy Date: Jun 6, 2006
-
-
Constructor Summary
Constructors Constructor Description NiceLogFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringformat(java.util.logging.LogRecord record)java.lang.StringformatMessage(java.util.logging.LogRecord record)protected java.lang.StringgetProductId()Sun One AppServer SE/EE can override to specify their product version
-
-
-
Method Detail
-
format
public java.lang.String format(java.util.logging.LogRecord record)
- Specified by:
formatin classjava.util.logging.Formatter
-
formatMessage
public java.lang.String formatMessage(java.util.logging.LogRecord record)
- Overrides:
formatMessagein classjava.util.logging.Formatter
-
getProductId
protected java.lang.String getProductId()
Sun One AppServer SE/EE can override to specify their product version- Returns:
- product ID
-
-