public class VersionPatternConverter
extends ch.qos.logback.classic.pattern.ClassicConverter
ClassicConverter
that returns the "Implementation-Version" string obtained from the
manifest of the jar that this class was loaded from.
If this class was not loaded from a jar file or if
the manifest cannot be loaded, a default version string
of unknown
is returned.
Constructor and Description |
---|
VersionPatternConverter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
convert(ch.qos.logback.classic.spi.ILoggingEvent iLoggingEvent) |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getFirstOption, getOptionList, isStarted, setContext, setOptionList, start, stop