ch.qos.logback.access.pattern
Class NAConverter

java.lang.Object
  extended by ch.qos.logback.core.pattern.Converter<E>
      extended by ch.qos.logback.core.pattern.FormattingConverter<E>
          extended by ch.qos.logback.core.pattern.DynamicConverter<IAccessEvent>
              extended by ch.qos.logback.access.pattern.AccessConverter
                  extended by ch.qos.logback.access.pattern.NAConverter
All Implemented Interfaces:
ContextAware, LifeCycle

public class NAConverter
extends AccessConverter

Always returns the NA (not available) string which is "-" in the case of access conversions.

Author:
Ceki Gülcü

Field Summary
 
Fields inherited from class ch.qos.logback.access.pattern.AccessConverter
QUESTION_CHAR, SPACE_CHAR
 
Fields inherited from class ch.qos.logback.core.pattern.DynamicConverter
started
 
Constructor Summary
NAConverter()
           
 
Method Summary
 String convert(IAccessEvent accessEvent)
           
 
Methods inherited from class ch.qos.logback.access.pattern.AccessConverter
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
 
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
 
Methods inherited from class ch.qos.logback.core.pattern.Converter
getNext, setNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NAConverter

public NAConverter()
Method Detail

convert

public String convert(IAccessEvent accessEvent)
Specified by:
convert in class Converter<IAccessEvent>


Copyright © 2005-2013 QOS.ch. All Rights Reserved.