org.apache.maven.lifecycle.internal.stub
Class LoggerStub

java.lang.Object
  extended by org.apache.maven.lifecycle.internal.stub.LoggerStub
All Implemented Interfaces:
Logger

public class LoggerStub
extends Object
implements Logger

Author:
Kristian Rosenvold

Field Summary
 
Fields inherited from interface org.codehaus.plexus.logging.Logger
LEVEL_DEBUG, LEVEL_DISABLED, LEVEL_ERROR, LEVEL_FATAL, LEVEL_INFO, LEVEL_WARN
 
Constructor Summary
LoggerStub()
           
 
Method Summary
 void debug(String s)
           
 void debug(String s, Throwable throwable)
           
 void error(String s)
           
 void error(String s, Throwable throwable)
           
 void fatalError(String s)
           
 void fatalError(String s, Throwable throwable)
           
 Logger getChildLogger(String s)
           
 String getName()
           
 int getThreshold()
           
 void info(String s)
           
 void info(String s, Throwable throwable)
           
 boolean isDebugEnabled()
           
 boolean isErrorEnabled()
           
 boolean isFatalErrorEnabled()
           
 boolean isInfoEnabled()
           
 boolean isWarnEnabled()
           
 void setThreshold(int i)
           
 void warn(String s)
           
 void warn(String s, Throwable throwable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggerStub

public LoggerStub()
Method Detail

debug

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

debug

public void debug(String s,
                  Throwable throwable)
Specified by:
debug in interface Logger

isDebugEnabled

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

info

public void info(String s)
Specified by:
info in interface Logger

info

public void info(String s,
                 Throwable throwable)
Specified by:
info in interface Logger

isInfoEnabled

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

warn

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

warn

public void warn(String s,
                 Throwable throwable)
Specified by:
warn in interface Logger

isWarnEnabled

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

error

public void error(String s)
Specified by:
error in interface Logger

error

public void error(String s,
                  Throwable throwable)
Specified by:
error in interface Logger

isErrorEnabled

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

fatalError

public void fatalError(String s)
Specified by:
fatalError in interface Logger

fatalError

public void fatalError(String s,
                       Throwable throwable)
Specified by:
fatalError in interface Logger

isFatalErrorEnabled

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

getChildLogger

public Logger getChildLogger(String s)
Specified by:
getChildLogger in interface Logger

getThreshold

public int getThreshold()
Specified by:
getThreshold in interface Logger

setThreshold

public void setThreshold(int i)
Specified by:
setThreshold in interface Logger

getName

public String getName()
Specified by:
getName in interface Logger


Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.