com.sun.enterprise.ee.cms.logging
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: 1322 $
- Author:
- Shreedhar Ganapathy
Date: Jun 6, 2006
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NiceLogFormatter
public NiceLogFormatter()
format
public String format(LogRecord record)
- Specified by:
format in class Formatter
formatMessage
public String formatMessage(LogRecord record)
- Overrides:
formatMessage in class Formatter
getProductId
protected String getProductId()
- Sun One AppServer SE/EE can override to specify their product version
- Returns:
- product ID
Copyright © 2012. All Rights Reserved.