Class LoggerContextDecoratorLoggingConcern

  • All Implemented Interfaces:
    LoggerContextLoggingConcern, io.clogr.LoggingConcern, io.csar.Concern

    public class LoggerContextDecoratorLoggingConcern
    extends java.lang.Object
    implements LoggerContextLoggingConcern
    A concern for logging configurations wrapping an existing Logback LoggerContext.
    Author:
    Garret Wilson
    • Constructor Detail

      • LoggerContextDecoratorLoggingConcern

        public LoggerContextDecoratorLoggingConcern​(@Nonnull
                                                    ch.qos.logback.classic.LoggerContext loggerContext)
        Logger context constructor.
        Parameters:
        loggerContext - The Logback logger context this logging concern decorates.
    • Method Detail

      • getLoggerContext

        public ch.qos.logback.classic.LoggerContext getLoggerContext()
        Specified by:
        getLoggerContext in interface LoggerContextLoggingConcern
        Returns:
        The Logback logger context this logging concern is associated with.