goldengate.common.logging
Class GgSlf4JLoggerFactory

java.lang.Object
  extended by org.jboss.netty.logging.InternalLoggerFactory
      extended by org.jboss.netty.logging.Slf4JLoggerFactory
          extended by goldengate.common.logging.GgSlf4JLoggerFactory
All Implemented Interfaces:
GgInternalLoggerInterface

public class GgSlf4JLoggerFactory
extends org.jboss.netty.logging.Slf4JLoggerFactory
implements GgInternalLoggerInterface

Example of logger factory using SLF4J from LOGBACK

Author:
Frederic Bregier

Constructor Summary
GgSlf4JLoggerFactory(ch.qos.logback.classic.Level level)
           
 
Method Summary
 org.jboss.netty.logging.InternalLogger newInstance(String name)
           
 
Methods inherited from class org.jboss.netty.logging.InternalLoggerFactory
getDefaultFactory, getInstance, getInstance, setDefaultFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GgSlf4JLoggerFactory

public GgSlf4JLoggerFactory(ch.qos.logback.classic.Level level)
Parameters:
level -
Method Detail

newInstance

public org.jboss.netty.logging.InternalLogger newInstance(String name)
Overrides:
newInstance in class org.jboss.netty.logging.Slf4JLoggerFactory


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.