Class CommonFormatter
- java.lang.Object
-
- java.util.logging.Formatter
-
- com.sun.enterprise.server.logging.CommonFormatter
-
- Direct Known Subclasses:
AnsiColorFormatter
,JSONLogFormatter
public abstract class CommonFormatter extends Formatter
A Parent Formatter supporting the Exclude Fields Support and providing the logic for the Product version value.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CommonFormatter()
protected
CommonFormatter(String excludeFields)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getProductId()
Payara can override this to specify product version.protected boolean
isFieldExcluded(ExcludeFieldsSupport.SupplementalAttribute excludeField)
-
Methods inherited from class java.util.logging.Formatter
format, formatMessage, getHead, getTail
-
-
-
-
Constructor Detail
-
CommonFormatter
protected CommonFormatter()
-
CommonFormatter
protected CommonFormatter(String excludeFields)
-
-
Method Detail
-
isFieldExcluded
protected boolean isFieldExcluded(ExcludeFieldsSupport.SupplementalAttribute excludeField)
-
getProductId
protected String getProductId()
Payara can override this to specify product version.- Returns:
- The string value of the product id.
-
-