Class StepIdTriggeringPolicy

  • All Implemented Interfaces:
    org.apache.logging.log4j.core.appender.rolling.TriggeringPolicy, org.apache.logging.log4j.core.LifeCycle, org.apache.logging.log4j.core.LifeCycle2

    @Plugin(name="StepIdTriggeringPolicy",
            category="Core",
            printObject=true)
    public final class StepIdTriggeringPolicy
    extends org.apache.logging.log4j.core.appender.rolling.AbstractTriggeringPolicy
    Created by kurila on 30.06.17. Note that the instances are not thread safe so they will work only in case of async logger is used.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.logging.log4j.core.LifeCycle

        org.apache.logging.log4j.core.LifeCycle.State
    • Field Summary

      • Fields inherited from class org.apache.logging.log4j.core.AbstractLifeCycle

        DEFAULT_STOP_TIMEOUT, DEFAULT_STOP_TIMEUNIT, LOGGER
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static StepIdTriggeringPolicy createPolicy()  
      void initialize​(org.apache.logging.log4j.core.appender.rolling.RollingFileManager manager)  
      boolean isTriggeringEvent​(org.apache.logging.log4j.core.LogEvent logEvent)  
      • Methods inherited from class org.apache.logging.log4j.core.AbstractLifeCycle

        equalsImpl, getState, getStatusLogger, hashCodeImpl, initialize, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStopping, start, stop, stop, stop
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StepIdTriggeringPolicy

        public StepIdTriggeringPolicy()
    • Method Detail

      • initialize

        public final void initialize​(org.apache.logging.log4j.core.appender.rolling.RollingFileManager manager)
      • isTriggeringEvent

        public final boolean isTriggeringEvent​(org.apache.logging.log4j.core.LogEvent logEvent)