add method
Implementation
void add(BaseAppender appender, String name) {
final origAppender = appenders[name];
if (origAppender != null) {
origAppender.dispose();
}
appenders[name] = appender;
}
void add(BaseAppender appender, String name) {
final origAppender = appenders[name];
if (origAppender != null) {
origAppender.dispose();
}
appenders[name] = appender;
}