File tree 5 files changed +13
-4
lines changed
log4j-core/src/main/java/org/apache/logging/log4j/core
log4j-core-test/src/test/java/org/apache/logging/log4j/core
5 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ public void testSingleFilterInvocation() {
100
100
.withLoggerName (FQCN )
101
101
.withConfig (configuration )
102
102
.withLevel (Level .INFO )
103
- .withtFilter (filter )
103
+ .withFilter (filter )
104
104
.build ();
105
105
final Appender appender = mock (Appender .class );
106
106
when (appender .isStarted ()).thenReturn (true );
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ public void testSingleFilterInvocation() {
126
126
.withLoggerName (FQCN )
127
127
.withConfig (configuration )
128
128
.withLevel (Level .INFO )
129
- .withtFilter (filter )
129
+ .withFilter (filter )
130
130
.build ();
131
131
final Appender appender = mock (Appender .class );
132
132
when (appender .isStarted ()).thenReturn (true );
Original file line number Diff line number Diff line change 18
18
* Provides Asynchronous Logger classes and interfaces for low-latency logging.
19
19
*/
20
20
@ Export
21
- @ Version ("2.23 .0" )
21
+ @ Version ("2.24 .0" )
22
22
package org .apache .logging .log4j .core .async ;
23
23
24
24
import org .osgi .annotation .bundle .Export ;
Original file line number Diff line number Diff line change @@ -213,11 +213,20 @@ public Filter getFilter() {
213
213
return filter ;
214
214
}
215
215
216
+ /**
217
+ * @deprecated Use {@link #withFilter(Filter)} instead
218
+ */
219
+ @ Deprecated
216
220
public B withtFilter (final Filter filter ) {
217
221
this .filter = filter ;
218
222
return asBuilder ();
219
223
}
220
224
225
+ public B withFilter (final Filter filter ) {
226
+ this .filter = filter ;
227
+ return asBuilder ();
228
+ }
229
+
221
230
@ Override
222
231
public LoggerConfig build () {
223
232
final String name = loggerName .equals (ROOT ) ? Strings .EMPTY : loggerName ;
Original file line number Diff line number Diff line change 18
18
* Configuration of Log4j 2.
19
19
*/
20
20
@ Export
21
- @ Version ("2.21 .0" )
21
+ @ Version ("2.24 .0" )
22
22
package org .apache .logging .log4j .core .config ;
23
23
24
24
import org .osgi .annotation .bundle .Export ;
You can’t perform that action at this time.
0 commit comments