Class CoreLoggerAdapter

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, LoggerAdapter<java.util.logging.Logger>

    public class CoreLoggerAdapter
    extends AbstractLoggerAdapter
    Logger registry implementation that uses log4j-core.
    Since:
    2.1
    • Constructor Detail

      • CoreLoggerAdapter

        public CoreLoggerAdapter()
    • Method Detail

      • newLogger

        protected java.util.logging.Logger newLogger​(java.lang.String name,
                                                     LoggerContext context)
        Description copied from class: AbstractLoggerAdapter
        Creates a new named logger for a given LoggerContext.
        Specified by:
        newLogger in class AbstractLoggerAdapter<java.util.logging.Logger>
        Parameters:
        name - the name of the logger to create
        context - the LoggerContext this logger will be associated with
        Returns:
        the new named logger