testCreationLogger() — netty Function Reference
Architecture documentation for the testCreationLogger() function in Slf4JLoggerFactoryTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 682e7434_a813_03b8_d5ae_08bbb05eea6b["testCreationLogger()"] 9f925406_7438_c14f_71a3_389088c21656["Slf4JLoggerFactoryTest"] 682e7434_a813_03b8_d5ae_08bbb05eea6b -->|defined in| 9f925406_7438_c14f_71a3_389088c21656 style 682e7434_a813_03b8_d5ae_08bbb05eea6b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/internal/logging/Slf4JLoggerFactoryTest.java lines 41–48
@Test
public void testCreationLogger() {
Logger logger = mock(Logger.class);
when(logger.getName()).thenReturn("testlogger");
InternalLogger internalLogger = Slf4JLoggerFactory.wrapLogger(logger);
assertTrue(internalLogger instanceof Slf4JLogger);
assertEquals("testlogger", internalLogger.name());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testCreationLogger() do?
testCreationLogger() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/internal/logging/Slf4JLoggerFactoryTest.java.
Where is testCreationLogger() defined?
testCreationLogger() is defined in common/src/test/java/io/netty/util/internal/logging/Slf4JLoggerFactoryTest.java at line 41.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free