org.codehaus.groovy.maven.gossip
Class InternalLogger

java.lang.Object
  extended by org.slf4j.helpers.MarkerIgnoringBase
      extended by org.codehaus.groovy.maven.gossip.AbstractLogger
          extended by org.codehaus.groovy.maven.gossip.InternalLogger
All Implemented Interfaces:
org.slf4j.Logger

public final class InternalLogger
extends AbstractLogger

Provides internal logging support for Gossip.

Version:
$Id: InternalLogger.java 13170 2008-08-10 05:52:27Z user57 $
Author:
Jason Dillon

Field Summary
 
Fields inherited from class org.codehaus.groovy.maven.gossip.AbstractLogger
name
 
Fields inherited from interface org.slf4j.Logger
ROOT_LOGGER_NAME
 
Constructor Summary
InternalLogger(java.lang.String name)
           
 
Method Summary
protected  void doLog(Level level, java.lang.String message, java.lang.Throwable cause)
           
static InternalLogger getLogger(java.lang.Class type)
           
static InternalLogger getLogger(java.lang.String name)
           
protected  boolean isEnabled(Level l)
           
 
Methods inherited from class org.codehaus.groovy.maven.gossip.AbstractLogger
debug, debug, debug, debug, debug, equals, error, error, error, error, error, getName, hashCode, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, toString, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn
 
Methods inherited from class org.slf4j.helpers.MarkerIgnoringBase
debug, debug, debug, debug, debug, error, error, error, error, error, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.slf4j.Logger
debug, debug, debug, debug, debug, error, error, error, error, error, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn
 

Constructor Detail

InternalLogger

public InternalLogger(java.lang.String name)
Method Detail

getLogger

public static InternalLogger getLogger(java.lang.String name)

getLogger

public static InternalLogger getLogger(java.lang.Class type)

isEnabled

protected boolean isEnabled(Level l)
Specified by:
isEnabled in class AbstractLogger

doLog

protected void doLog(Level level,
                     java.lang.String message,
                     java.lang.Throwable cause)
Specified by:
doLog in class AbstractLogger


Copyright © 2006-2009 Codehaus. All Rights Reserved.