Home / Class/ Log4J2LoggerFactory Class — netty Architecture

Log4J2LoggerFactory Class — netty Architecture

Architecture documentation for the Log4J2LoggerFactory class in Log4J2LoggerFactory.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  688a573b_69fa_52fb_751c_13a565c64112["Log4J2LoggerFactory"]
  01b9ce7b_998e_5ec6_3cd3_e6a401ce5f54["Log4J2LoggerFactory.java"]
  688a573b_69fa_52fb_751c_13a565c64112 -->|defined in| 01b9ce7b_998e_5ec6_3cd3_e6a401ce5f54
  9c4b0a5a_8d2f_347d_cf2b_f47a896f0587["Log4J2LoggerFactory()"]
  688a573b_69fa_52fb_751c_13a565c64112 -->|method| 9c4b0a5a_8d2f_347d_cf2b_f47a896f0587
  a40eb76c_a52b_80df_d265_c96f8a08807d["InternalLogger()"]
  688a573b_69fa_52fb_751c_13a565c64112 -->|method| a40eb76c_a52b_80df_d265_c96f8a08807d

Relationship Graph

Source Code

common/src/main/java/io/netty/util/internal/logging/Log4J2LoggerFactory.java lines 20–35

public final class Log4J2LoggerFactory extends InternalLoggerFactory {

    public static final InternalLoggerFactory INSTANCE = new Log4J2LoggerFactory();

    /**
     * @deprecated Use {@link #INSTANCE} instead.
     */
    @Deprecated
    public Log4J2LoggerFactory() {
    }

    @Override
    public InternalLogger newInstance(String name) {
        return new Log4J2Logger(LogManager.getLogger(name));
    }
}

Frequently Asked Questions

What is the Log4J2LoggerFactory class?
Log4J2LoggerFactory is a class in the netty codebase, defined in common/src/main/java/io/netty/util/internal/logging/Log4J2LoggerFactory.java.
Where is Log4J2LoggerFactory defined?
Log4J2LoggerFactory is defined in common/src/main/java/io/netty/util/internal/logging/Log4J2LoggerFactory.java at line 20.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free