Top Fields Constructors Methods
ch.qos.logback.classic.pattern

public Class RelativeTimeConverter

extends ClassicConverter
Class Inheritance
Imports
ch.qos.logback.classic.spi.ILoggingEvent

Field Summary

Modifier and TypeField and Description
pack-priv long
pack-priv String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
convert(ILoggingEvent event)

Implements abstract ch.qos.logback.core.pattern.Converter.convert.

The convert method is responsible for extracting data from the event and storing it for later use by the write method.

Field Detail

lastTimestampback to summary
pack-priv long lastTimestamp
timesmapCacheback to summary
pack-priv String timesmapCache

Constructor Detail

RelativeTimeConverterback to summary
public RelativeTimeConverter()

Method Detail

convertback to summary
public String convert(ILoggingEvent event)

Implements abstract ch.qos.logback.core.pattern.Converter.convert.

Doc from ch.qos.logback.core.pattern.Converter.convert.

The convert method is responsible for extracting data from the event and storing it for later use by the write method.