Home / Class/ Log4JLoggerFactory Class — netty Architecture

Log4JLoggerFactory Class — netty Architecture

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

Entity Profile

Dependency Diagram

graph TD
  78cd9b30_8ce0_19f9_5987_d6fcaa2f230e["Log4JLoggerFactory"]
  6e1c220e_588f_5133_86d7_b7edd4c2f42f["Log4JLoggerFactory.java"]
  78cd9b30_8ce0_19f9_5987_d6fcaa2f230e -->|defined in| 6e1c220e_588f_5133_86d7_b7edd4c2f42f
  e0271274_b9da_4e69_9899_8affbd48805d["Log4JLoggerFactory()"]
  78cd9b30_8ce0_19f9_5987_d6fcaa2f230e -->|method| e0271274_b9da_4e69_9899_8affbd48805d
  5da24c8c_5314_e8ff_bb81_6061cb46d4f2["InternalLogger()"]
  78cd9b30_8ce0_19f9_5987_d6fcaa2f230e -->|method| 5da24c8c_5314_e8ff_bb81_6061cb46d4f2

Relationship Graph

Source Code

common/src/main/java/io/netty/util/internal/logging/Log4JLoggerFactory.java lines 25–40

public class Log4JLoggerFactory extends InternalLoggerFactory {

    public static final InternalLoggerFactory INSTANCE = new Log4JLoggerFactory();

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

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

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free