Class NiceLogFormatter
- java.lang.Object
-
- java.util.logging.Formatter
-
- com.sun.enterprise.ee.cms.logging.NiceLogFormatter
-
public class NiceLogFormatter extends Formatter
NiceLogFormatter 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 Stringformat(LogRecord record)StringformatMessage(LogRecord record)protected StringgetProductId()Sun One AppServer SE/EE can override to specify their product version
-
-
-
Method Detail
-
formatMessage
public String formatMessage(LogRecord record)
- Overrides:
formatMessagein classFormatter
-
getProductId
protected String getProductId()
Sun One AppServer SE/EE can override to specify their product version- Returns:
- product ID
-
-