log() — netty Function Reference
Architecture documentation for the log() function in AbstractInternalLogger.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 7180fdeb_5489_629f_6987_43ecde5e0800["log()"] 9b7c4143_3791_f051_0f3e_650bf7c1d0b9["AbstractInternalLogger"] 7180fdeb_5489_629f_6987_43ecde5e0800 -->|defined in| 9b7c4143_3791_f051_0f3e_650bf7c1d0b9 9ee663ff_687c_0060_6e51_fbb6aed24084["trace()"] 7180fdeb_5489_629f_6987_43ecde5e0800 -->|calls| 9ee663ff_687c_0060_6e51_fbb6aed24084 64836aa3_047c_7a19_9689_a1e74408f3ed["debug()"] 7180fdeb_5489_629f_6987_43ecde5e0800 -->|calls| 64836aa3_047c_7a19_9689_a1e74408f3ed 52adec1a_f513_2025_5dcc_bf6a8bdfb1c2["info()"] 7180fdeb_5489_629f_6987_43ecde5e0800 -->|calls| 52adec1a_f513_2025_5dcc_bf6a8bdfb1c2 92b52a1f_b651_abc7_3944_5b4c6bd2ea50["warn()"] 7180fdeb_5489_629f_6987_43ecde5e0800 -->|calls| 92b52a1f_b651_abc7_3944_5b4c6bd2ea50 6144da84_8bf5_9c1c_ff03_d6aa5be9716d["error()"] 7180fdeb_5489_629f_6987_43ecde5e0800 -->|calls| 6144da84_8bf5_9c1c_ff03_d6aa5be9716d style 7180fdeb_5489_629f_6987_43ecde5e0800 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/internal/logging/AbstractInternalLogger.java lines 92–113
@Override
public void log(InternalLogLevel level, String msg, Throwable cause) {
switch (level) {
case TRACE:
trace(msg, cause);
break;
case DEBUG:
debug(msg, cause);
break;
case INFO:
info(msg, cause);
break;
case WARN:
warn(msg, cause);
break;
case ERROR:
error(msg, cause);
break;
default:
throw new Error("Unexpected log level: " + level);
}
}
Domain
Subdomains
Source
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/AbstractInternalLogger.java.
Where is log() defined?
log() is defined in common/src/main/java/io/netty/util/internal/logging/AbstractInternalLogger.java at line 92.
What does log() call?
log() calls 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