How to get access to appender methods with SLF4J? #2572
Answered
by
ppkarwasz
emelyanovkr
asked this question in
Q&A
-
I am getting my Logger like this I am using |
Beta Was this translation helpful? Give feedback.
Answered by
ppkarwasz
May 9, 2024
Replies: 1 comment 1 reply
-
You just need to use |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
emelyanovkr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You just need to use
ListAppender.getListAppender()
with the name of your appender:logging-log4j2/log4j-core-test/src/main/java/org/apache/logging/log4j/core/test/appender/ListAppender.java
Lines 292 to 302 in fe92961