Class LogConfigurationTask


  • public class LogConfigurationTask
    extends Task
    Sets the logging level for a number of loggers

    Parameters:

    Name Description
    logger One or more logger names to be configured with the specified log level.
    level An optional Level to configure. If not provided, the log level will be set to null.
    duration An optional Duration to configure the level. If not provided, the log level will be set forever.

    • Constructor Detail

      • LogConfigurationTask

        public LogConfigurationTask()
        Creates a new LogConfigurationTask.
      • LogConfigurationTask

        public LogConfigurationTask​(org.slf4j.ILoggerFactory loggerContext)
        Creates a new LogConfigurationTask with the given ILoggerFactory instance.

        Use LogConfigurationTask() instead.

        Parameters:
        loggerContext - a ILoggerFactory instance
    • Method Detail