shouldLogChannelException() — netty Function Reference
Architecture documentation for the shouldLogChannelException() function in LoggingHandlerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b2757815_5672_4e51_a979_8ac2a9753c6e["shouldLogChannelException()"] 12b00413_e6e3_10b5_14c7_7f5ebb4a81a6["LoggingHandlerTest"] b2757815_5672_4e51_a979_8ac2a9753c6e -->|defined in| 12b00413_e6e3_10b5_14c7_7f5ebb4a81a6 fed55159_8c51_7e31_be70_d41e8f1e239b["RegexLogMatcher()"] b2757815_5672_4e51_a979_8ac2a9753c6e -->|calls| fed55159_8c51_7e31_be70_d41e8f1e239b style b2757815_5672_4e51_a979_8ac2a9753c6e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/logging/LoggingHandlerTest.java lines 193–201
@Test
public void shouldLogChannelException() throws Exception {
String msg = "illegalState";
Throwable cause = new IllegalStateException(msg);
EmbeddedChannel channel = new EmbeddedChannel(new LoggingHandler(LogLevel.WARN));
channel.pipeline().fireExceptionCaught(cause);
verify(appender).doAppend(argThat(new RegexLogMatcher(
".+EXCEPTION: " + cause.getClass().getCanonicalName() + ": " + msg + '$')));
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does shouldLogChannelException() do?
shouldLogChannelException() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/logging/LoggingHandlerTest.java.
Where is shouldLogChannelException() defined?
shouldLogChannelException() is defined in handler/src/test/java/io/netty/handler/logging/LoggingHandlerTest.java at line 193.
What does shouldLogChannelException() call?
shouldLogChannelException() calls 1 function(s): RegexLogMatcher.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free