Class ApplicationNameConverter

java.lang.Object
ch.qos.logback.core.pattern.Converter<E>
ch.qos.logback.core.pattern.FormattingConverter<E>
ch.qos.logback.core.pattern.DynamicConverter<ch.qos.logback.classic.spi.ILoggingEvent>
ch.qos.logback.classic.pattern.ClassicConverter
org.springframework.boot.logging.logback.ApplicationNameConverter
All Implemented Interfaces:
ch.qos.logback.core.spi.ContextAware, ch.qos.logback.core.spi.LifeCycle

@Deprecated(since="3.4.0", forRemoval=true) public class ApplicationNameConverter extends ch.qos.logback.classic.pattern.ClassicConverter
Deprecated, for removal: This API element is subject to removal in a future version.
since 3.4.0 for removal in 3.6.0 in favor of EnclosedInSquareBracketsConverter
Logback ClassicConverter to convert the APPLICATION_NAME into a value suitable for logging. Similar to Logback's PropertyConverter but a non-existent property is logged as an empty string rather than null.
Since:
3.2.4
  • Field Summary

    Fields inherited from class ch.qos.logback.core.pattern.DynamicConverter

    started
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(ch.qos.logback.classic.spi.ILoggingEvent event)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class ch.qos.logback.core.pattern.DynamicConverter

    addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getFirstOption, getOptionList, isStarted, setContext, 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 Details

    • ApplicationNameConverter

      public ApplicationNameConverter()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • convert

      public String convert(ch.qos.logback.classic.spi.ILoggingEvent event)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      convert in class ch.qos.logback.core.pattern.Converter<ch.qos.logback.classic.spi.ILoggingEvent>