Example usage for io.netty.util.internal.logging InternalLoggerFactory InternalLoggerFactory

List of usage examples for io.netty.util.internal.logging InternalLoggerFactory InternalLoggerFactory

Introduction

In this page you can find the example usage for io.netty.util.internal.logging InternalLoggerFactory InternalLoggerFactory.

Prototype

InternalLoggerFactory

Source Link

Usage

From source file:org.rzo.yajsw.tray.ahessian.server.AhessianLogging.java

License:Apache License

public static void setAhessianLogger(final Logger log) {
    InternalLoggerFactory.setDefaultFactory(new InternalLoggerFactory() {

        @Override/*from   w  ww .  ja  v  a2 s  .c  o  m*/
        public InternalLogger newInstance(String name) {
            return (InternalLogger) new JdkLogger(log, "ahessian-jmx");
        }
    });
}