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