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

public final Class PropertyConverter

extends ClassicConverter
Class Inheritance
Imports
java.util.Map, ch.qos.logback.classic.spi.ILoggingEvent, .LoggerContextVO

Field Summary

Modifier and TypeField and Description
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.
public String
public void
start()

Overrides ch.qos.logback.core.pattern.DynamicConverter.start.

Implements ch.qos.logback.core.spi.LifeCycle.start.

Components that depend on options passed during configuration can override this method in order to make appropriate use of those options.

Field Detail

keyback to summary
pack-priv String key

Constructor Detail

PropertyConverterback to summary
public PropertyConverter()

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.

getKeyback to summary
public String getKey()
startback to summary
public void start()

Overrides ch.qos.logback.core.pattern.DynamicConverter.start.

Implements ch.qos.logback.core.spi.LifeCycle.start.

Doc from ch.qos.logback.core.pattern.DynamicConverter.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.