com.dua3.utility.logging.log4j.LogEntryDispatcherFactoryLog4j Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of utility-logging-log4j Show documentation
Show all versions of utility-logging-log4j Show documentation
Java utilities (logging, Log4J)
package com.dua3.utility.logging.log4j;
import com.dua3.utility.logging.LogEntryDispatcher;
import com.dua3.utility.logging.ILogEntryDispatcherFactory;
/**
* A factory class for creating LogEntryDispatcher instances using Log4j.
*/
public class LogEntryDispatcherFactoryLog4j implements ILogEntryDispatcherFactory {
static {
LogUtilLog4J.updateLoggers();
}
@Override
public LogEntryDispatcher getDispatcher() {
return LogUtilLog4J.GLOBAL_APPENDER.dispatcher();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy