Home / Function/ shouldLogChannelUserEvent() — netty Function Reference

shouldLogChannelUserEvent() — netty Function Reference

Architecture documentation for the shouldLogChannelUserEvent() function in LoggingHandlerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  c986084e_c84e_01aa_37c6_12156d8531cb["shouldLogChannelUserEvent()"]
  12b00413_e6e3_10b5_14c7_7f5ebb4a81a6["LoggingHandlerTest"]
  c986084e_c84e_01aa_37c6_12156d8531cb -->|defined in| 12b00413_e6e3_10b5_14c7_7f5ebb4a81a6
  fed55159_8c51_7e31_be70_d41e8f1e239b["RegexLogMatcher()"]
  c986084e_c84e_01aa_37c6_12156d8531cb -->|calls| fed55159_8c51_7e31_be70_d41e8f1e239b
  style c986084e_c84e_01aa_37c6_12156d8531cb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/logging/LoggingHandlerTest.java lines 184–191

    @Test
    @SuppressWarnings("RedundantStringConstructorCall")
    public void shouldLogChannelUserEvent() throws Exception {
        String userTriggered = "iAmCustom!";
        EmbeddedChannel channel = new EmbeddedChannel(new LoggingHandler(LogLevel.WARN));
        channel.pipeline().fireUserEventTriggered(new String(userTriggered));
        verify(appender).doAppend(argThat(new RegexLogMatcher(".+USER_EVENT: " + userTriggered + '$')));
    }

Domain

Subdomains

Frequently Asked Questions

What does shouldLogChannelUserEvent() do?
shouldLogChannelUserEvent() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/logging/LoggingHandlerTest.java.
Where is shouldLogChannelUserEvent() defined?
shouldLogChannelUserEvent() is defined in handler/src/test/java/io/netty/handler/logging/LoggingHandlerTest.java at line 184.
What does shouldLogChannelUserEvent() call?
shouldLogChannelUserEvent() 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