org.sonatype.aether.impl.internal
Class Slf4jLogger

java.lang.Object
  extended by org.sonatype.aether.impl.internal.Slf4jLogger
All Implemented Interfaces:
Logger

public class Slf4jLogger
extends Object
implements Logger

A logger that delegates to Slf4J logging.

Author:
Benjamin Bentmann

Constructor Summary
Slf4jLogger()
           
Slf4jLogger(org.slf4j.Logger logger)
           
 
Method Summary
 void debug(String msg)
           
 void debug(String msg, Throwable error)
           
 boolean isDebugEnabled()
           
 boolean isWarnEnabled()
           
 void setLogger(org.slf4j.Logger logger)
           
 void warn(String msg)
           
 void warn(String msg, Throwable error)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Slf4jLogger

public Slf4jLogger()

Slf4jLogger

public Slf4jLogger(org.slf4j.Logger logger)
Method Detail

setLogger

public void setLogger(org.slf4j.Logger logger)

isDebugEnabled

public boolean isDebugEnabled()
Specified by:
isDebugEnabled in interface Logger

debug

public void debug(String msg)
Specified by:
debug in interface Logger

debug

public void debug(String msg,
                  Throwable error)
Specified by:
debug in interface Logger

isWarnEnabled

public boolean isWarnEnabled()
Specified by:
isWarnEnabled in interface Logger

warn

public void warn(String msg)
Specified by:
warn in interface Logger

warn

public void warn(String msg,
                 Throwable error)
Specified by:
warn in interface Logger


Copyright © 2010-2011 Sonatype, Inc.. All Rights Reserved.