Creates an {@link InternalLogger} or changes the default factoryimplementation. This factory allows you to choose what logging framework Netty should use. The default factory is {@link JdkLoggerFactory}. You can change it to your preferred logging framework before other Netty classes are loaded:
InternalLoggerFactory.setDefaultFactory(new {@link Log4JLoggerFactory}());
Please note that the new default factory is effective only for the classes which were loaded after the default factory is changed. Therefore, {@link #setDefaultFactory(InternalLoggerFactory)} should be called as earlyas possible and shouldn't be called more than once.
@author The Netty Project (netty-dev@lists.jboss.org)
@author Trustin Lee (tlee@redhat.com)
@version $Rev: 1124 $, $Date: 2009-04-03 16:41:54 +0900 (Fri, 03 Apr 2009) $
@apiviz.landmark
@apiviz.has org.jboss.netty.logging.InternalLogger oneway - - creates