public class AppenderAdapter extends Object
Modifier and Type | Class and Description |
---|---|
class |
AppenderAdapter.Adapter |
Modifier and Type | Method and Description |
---|---|
static Appender |
adapt(Appender appender)
Adapts a Log4j 1.x appender into a Log4j 2.x appender.
|
AppenderAdapter.Adapter |
getAdapter() |
public static Appender adapt(Appender appender)
AppenderWrapper.adapt(org.apache.logging.log4j.core.Appender)
should
return the original Log4j 2.x appender.appender
- a Log4j 1.x appendernull
if the parameter is null
public AppenderAdapter.Adapter getAdapter()
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.