Class MicrosecondConverter
java.lang.Object
ch.qos.logback.core.pattern.Converter<ILoggingEvent>
ch.qos.logback.core.pattern.FormattingConverter<ILoggingEvent>
ch.qos.logback.core.pattern.DynamicConverter<ILoggingEvent>
ch.qos.logback.classic.pattern.ClassicConverter
ch.qos.logback.classic.pattern.MicrosecondConverter
- All Implemented Interfaces:
ContextAware, LifeCycle
Outputs the number of microseconds of the timestamp.
- Since:
- 1.3.0
- Author:
- ceki
-
Field Summary
Fields inherited from class DynamicConverter
started -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(ILoggingEvent event) The convert method is responsible for extracting data from the event and returning a formatted string representation.Methods inherited from class DynamicConverter
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getFirstOption, getOptionList, isStarted, setContext, setOptionList, start, stopMethods inherited from class FormattingConverter
getFormattingInfo, setFormattingInfo, write
-
Constructor Details
-
MicrosecondConverter
public MicrosecondConverter()
-
-
Method Details
-
convert
Description copied from class:ConverterThe convert method is responsible for extracting data from the event and returning a formatted string representation.- Specified by:
convertin classConverter<ILoggingEvent>- Parameters:
event- the event to convert- Returns:
- the formatted string representation
-