Package ch.qos.logback.access.pattern
Class AccessConverter
java.lang.Object
ch.qos.logback.core.pattern.Converter<E>
ch.qos.logback.core.pattern.FormattingConverter<E>
ch.qos.logback.core.pattern.DynamicConverter<IAccessEvent>
ch.qos.logback.access.pattern.AccessConverter
- All Implemented Interfaces:
ContextAware
,LifeCycle
- Direct Known Subclasses:
ContentLengthConverter
,DateConverter
,ElapsedSecondsConverter
,ElapsedTimeConverter
,FullRequestConverter
,FullResponseConverter
,LineSeparatorConverter
,LocalIPAddressConverter
,LocalPortConverter
,NAConverter
,QueryStringConverter
,RemoteHostConverter
,RemoteIPAddressConverter
,RemoteUserConverter
,RequestAttributeConverter
,RequestContentConverter
,RequestCookieConverter
,RequestHeaderConverter
,RequestMethodConverter
,RequestParameterConverter
,RequestProtocolConverter
,RequestURIConverter
,RequestURLConverter
,ResponseContentConverter
,ResponseHeaderConverter
,ServerNameConverter
,SessionIDConverter
,StatusCodeConverter
,ThreadNameConverter
public abstract class AccessConverter
extends DynamicConverter<IAccessEvent>
implements ContextAware
-
Field Summary
Fields inherited from class ch.qos.logback.core.pattern.DynamicConverter
started
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
setContext
(Context context) Methods inherited from class ch.qos.logback.core.pattern.DynamicConverter
getFirstOption, getOptionList, isStarted, setOptionList, start, stop
Methods inherited from class ch.qos.logback.core.pattern.FormattingConverter
getFormattingInfo, setFormattingInfo, write
-
Field Details
-
SPACE_CHAR
- See Also:
-
QUESTION_CHAR
- See Also:
-
-
Constructor Details
-
AccessConverter
public AccessConverter()
-
-
Method Details
-
setContext
- Specified by:
setContext
in interfaceContextAware
- Overrides:
setContext
in classDynamicConverter<IAccessEvent>
-
getContext
- Specified by:
getContext
in interfaceContextAware
- Overrides:
getContext
in classDynamicConverter<IAccessEvent>
-
addStatus
- Specified by:
addStatus
in interfaceContextAware
- Overrides:
addStatus
in classDynamicConverter<IAccessEvent>
-
addInfo
- Specified by:
addInfo
in interfaceContextAware
- Overrides:
addInfo
in classDynamicConverter<IAccessEvent>
-
addInfo
- Specified by:
addInfo
in interfaceContextAware
- Overrides:
addInfo
in classDynamicConverter<IAccessEvent>
-
addWarn
- Specified by:
addWarn
in interfaceContextAware
- Overrides:
addWarn
in classDynamicConverter<IAccessEvent>
-
addWarn
- Specified by:
addWarn
in interfaceContextAware
- Overrides:
addWarn
in classDynamicConverter<IAccessEvent>
-
addError
- Specified by:
addError
in interfaceContextAware
- Overrides:
addError
in classDynamicConverter<IAccessEvent>
-
addError
- Specified by:
addError
in interfaceContextAware
- Overrides:
addError
in classDynamicConverter<IAccessEvent>
-