org.sonatype.aether.impl.internal
Class Slf4jLogger
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Slf4jLogger
public Slf4jLogger()
Slf4jLogger
public Slf4jLogger(org.slf4j.Logger logger)
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.