类 AbstractCustomAppender.DefaultLayout

java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.LayoutBase<ch.qos.logback.classic.spi.ILoggingEvent>
com.elitesland.ystdms.sys.log.appender.AbstractCustomAppender.DefaultLayout
所有已实现的接口:
ch.qos.logback.core.Layout<ch.qos.logback.classic.spi.ILoggingEvent>, ch.qos.logback.core.spi.ContextAware, ch.qos.logback.core.spi.LifeCycle
封闭类:
AbstractCustomAppender

protected static class AbstractCustomAppender.DefaultLayout extends ch.qos.logback.core.LayoutBase<ch.qos.logback.classic.spi.ILoggingEvent>
默认日志格式化器 直接返回日志消息内容
  • 字段概要

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

    started

    从类继承的字段 ch.qos.logback.core.spi.ContextAwareBase

    context
  • 构造器概要

    构造器
    限定符
    构造器
    说明
    protected
     
  • 方法概要

    修饰符和类型
    方法
    说明
    doLayout(ch.qos.logback.classic.spi.ILoggingEvent event)
    格式化日志事件

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

    getContentType, getContext, getFileFooter, getFileHeader, getPresentationFooter, getPresentationHeader, isStarted, setContext, setFileFooter, setFileHeader, setPresentationFooter, setPresentationHeader, start, stop

    从类继承的方法 ch.qos.logback.core.spi.ContextAwareBase

    addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getDeclaredOrigin, getStatusManager

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

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 ch.qos.logback.core.spi.ContextAware

    addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn
  • 构造器详细资料

    • DefaultLayout

      protected DefaultLayout()
  • 方法详细资料

    • doLayout

      public String doLayout(ch.qos.logback.classic.spi.ILoggingEvent event)
      格式化日志事件
      参数:
      event - 日志事件
      返回:
      格式化后的日志消息