org.sonatype.aether.impl.internal
Class PlexusLogger

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

@Component(role=org.sonatype.aether.spi.log.Logger.class)
public class PlexusLogger
extends Object
implements Logger

A logger that delegates to Plexus logging.

Author:
Benjamin Bentmann

Constructor Summary
PlexusLogger()
           
 
Method Summary
 void debug(String msg)
           
 void debug(String msg, Throwable error)
           
 boolean isDebugEnabled()
           
 boolean isWarnEnabled()
           
 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

PlexusLogger

public PlexusLogger()
Method Detail

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.