类 ApplicationNameConverter

java.lang.Object
ch.qos.logback.core.pattern.Converter<ch.qos.logback.classic.spi.ILoggingEvent>
ch.qos.logback.core.pattern.FormattingConverter<ch.qos.logback.classic.spi.ILoggingEvent>
ch.qos.logback.core.pattern.DynamicConverter<ch.qos.logback.classic.spi.ILoggingEvent>
ch.qos.logback.classic.pattern.ClassicConverter
org.springframework.boot.logging.logback.ApplicationNameConverter
所有已实现的接口:
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
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 3.4.0 for removal in 4.0.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.
从以下版本开始:
3.2.4
作者:
Andy Wilkinson, Phillip Webb
  • 字段概要

    从类继承的字段 ch.qos.logback.core.pattern.DynamicConverter

    started
  • 构造器概要

    构造器
    构造器
    说明
    已过时, 待删除: 此 API 元素将从以后的版本中删除。
     
  • 方法概要

    修饰符和类型
    方法
    说明
    convert(ch.qos.logback.classic.spi.ILoggingEvent event)
    已过时, 待删除: 此 API 元素将从以后的版本中删除。
     

    从类继承的方法 ch.qos.logback.core.pattern.DynamicConverter

    addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getFirstOption, getOptionList, isStarted, setContext, setOptionList, start, stop

    从类继承的方法 ch.qos.logback.core.pattern.FormattingConverter

    getFormattingInfo, setFormattingInfo, write

    从类继承的方法 ch.qos.logback.core.pattern.Converter

    getNext, setNext

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • ApplicationNameConverter

      public ApplicationNameConverter()
      已过时, 待删除: 此 API 元素将从以后的版本中删除。
  • 方法详细资料

    • convert

      public String convert(ch.qos.logback.classic.spi.ILoggingEvent event)
      已过时, 待删除: 此 API 元素将从以后的版本中删除。
      指定者:
      convert 在类中 ch.qos.logback.core.pattern.Converter<ch.qos.logback.classic.spi.ILoggingEvent>