JavaScript is disabled on your browser.
Field Summary
Fields
The conversion word/character with which this converter is registered.
private boolean
Constructor Summary
Constructors
Method Summary
All Methods Instance Methods Concrete Methods
The convert method is responsible for extracting data from the event and
storing it for later use by the write method.
boolean
boolean
void
Components that depend on options passed during configuration can override
this method in order to make appropriate use of those options.
Methods inherited from class ch.qos.logback.core.pattern.DynamicConverter
addError , addError , addInfo , addInfo , addStatus , addWarn , addWarn , getContext , getFirstOption , getOptionList , isStarted , setContext , setOptionList , stop
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Field Details
CONVERTER_KEY
public static final String CONVERTER_KEY
The conversion word/character with which this converter is registered.
See Also:
AUXILIARY_TOKEN
public static final String AUXILIARY_TOKEN
See Also:
DEFAULT_DATE_PATTERN
public static final String DEFAULT_DATE_PATTERN
See Also:
primary
private boolean primary
Constructor Details
DateTokenConverter
public DateTokenConverter ()
Method Details
start
public void start ()
Components that depend on options passed during configuration can override
this method in order to make appropriate use of those options. For simpler
components, the trivial implementation found in this abstract class will be
sufficient.
Specified by:
start
in interface LifeCycle
Overrides:
start
in class DynamicConverter <E >
convert
The convert method is responsible for extracting data from the event and
storing it for later use by the write method.
Specified by:
convert
in class Converter <E >
Parameters:
o
-
getDatePattern
public String getDatePattern ()
Return the date pattern.
isPrimary
public boolean isPrimary ()