Class PatternLayoutWithContext

  • All Implemented Interfaces:
    org.apache.log4j.spi.OptionHandler

    @Deprecated
    public class PatternLayoutWithContext
    extends PatternLayoutWithStackTrace
    Deprecated.
    Pattern layout that will dump the current logging context as a line between the initial log line and stack trace (if any). The general policy is that the context will be dumped if the log event level is WARN or higher or if a stack trace has been included in the event.
    See Also:
    LoggingContext
    • Constructor Detail

      • PatternLayoutWithContext

        public PatternLayoutWithContext()
        Deprecated.