Home / Function/ log() — netty Function Reference

log() — netty Function Reference

Architecture documentation for the log() function in JdkLogger.java from the netty codebase.

Function java CommonUtil Logging calls 1 called by 5

Entity Profile

Dependency Diagram

graph TD
  bee40d1c_26f8_6ea0_6b00_d388f87e356d["log()"]
  0ad57b42_5632_326d_8e02_ae2631e3c788["JdkLogger"]
  bee40d1c_26f8_6ea0_6b00_d388f87e356d -->|defined in| 0ad57b42_5632_326d_8e02_ae2631e3c788
  ec26c9a2_b323_77ff_2a90_f3cde745122f["trace()"]
  ec26c9a2_b323_77ff_2a90_f3cde745122f -->|calls| bee40d1c_26f8_6ea0_6b00_d388f87e356d
  24ca165b_535a_11bc_818a_f5b967e2496b["debug()"]
  24ca165b_535a_11bc_818a_f5b967e2496b -->|calls| bee40d1c_26f8_6ea0_6b00_d388f87e356d
  893eeee8_85c3_5afe_c4a6_223cb318469a["info()"]
  893eeee8_85c3_5afe_c4a6_223cb318469a -->|calls| bee40d1c_26f8_6ea0_6b00_d388f87e356d
  f5764b41_e939_b2d5_64a9_39f6bbd0cde6["warn()"]
  f5764b41_e939_b2d5_64a9_39f6bbd0cde6 -->|calls| bee40d1c_26f8_6ea0_6b00_d388f87e356d
  9191db5a_abb0_9618_c311_4a3462d3b516["error()"]
  9191db5a_abb0_9618_c311_4a3462d3b516 -->|calls| bee40d1c_26f8_6ea0_6b00_d388f87e356d
  27b841df_1965_f5bb_684f_f0fcb0210041["fillCallerData()"]
  bee40d1c_26f8_6ea0_6b00_d388f87e356d -->|calls| 27b841df_1965_f5bb_684f_f0fcb0210041
  style bee40d1c_26f8_6ea0_6b00_d388f87e356d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/internal/logging/JdkLogger.java lines 600–607

    private void log(String callerFQCN, Level level, String msg, Throwable t) {
        // millis and thread are filled by the constructor
        LogRecord record = new LogRecord(level, msg);
        record.setLoggerName(name());
        record.setThrown(t);
        fillCallerData(callerFQCN, record);
        logger.log(record);
    }

Domain

Subdomains

Frequently Asked Questions

What does log() do?
log() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/logging/JdkLogger.java.
Where is log() defined?
log() is defined in common/src/main/java/io/netty/util/internal/logging/JdkLogger.java at line 600.
What does log() call?
log() calls 1 function(s): fillCallerData.
What calls log()?
log() is called by 5 function(s): debug, error, info, trace, warn.

Analyze Your Own Codebase

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

Try Supermodel Free