org.codehaus.mojo.scmchangelog.scm.util
Class MavenScmLogger

java.lang.Object
  extended by org.codehaus.mojo.scmchangelog.scm.util.MavenScmLogger
All Implemented Interfaces:
org.apache.maven.scm.log.ScmLogger

public class MavenScmLogger
extends Object
implements org.apache.maven.scm.log.ScmLogger

Implementation of ScmLogger using org.apache.maven.plugin.logging.Log.

Version:
$Id: JavaScmLogger.java 7652 2008-09-11 07:58:40Z ehsavoie $
Author:
ehsavoie
See Also:
ScmLogger

Constructor Summary
MavenScmLogger(Log logger)
          Create a new MavenScmLogger (ScmLoger that wraps a maven Log)
 
Method Summary
 void debug(String content)
          
 void debug(String content, Throwable error)
          
 void debug(Throwable error)
          
 void error(String content)
          
 void error(String content, Throwable error)
          
 void error(Throwable error)
          
 void info(String content)
          
 void info(String content, Throwable error)
          
 void info(Throwable error)
          
 boolean isDebugEnabled()
          
 boolean isErrorEnabled()
          
 boolean isInfoEnabled()
          
 boolean isWarnEnabled()
          
 void warn(String content)
          
 void warn(String content, Throwable error)
          
 void warn(Throwable error)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MavenScmLogger

public MavenScmLogger(Log logger)
Create a new MavenScmLogger (ScmLoger that wraps a maven Log)

Parameters:
logger - the 'real' logger to be wrapped as a ScmLogger.
Method Detail

isDebugEnabled

public boolean isDebugEnabled()

Specified by:
isDebugEnabled in interface org.apache.maven.scm.log.ScmLogger

debug

public void debug(String content)

Specified by:
debug in interface org.apache.maven.scm.log.ScmLogger

debug

public void debug(String content,
                  Throwable error)

Specified by:
debug in interface org.apache.maven.scm.log.ScmLogger

debug

public void debug(Throwable error)

Specified by:
debug in interface org.apache.maven.scm.log.ScmLogger

isInfoEnabled

public boolean isInfoEnabled()

Specified by:
isInfoEnabled in interface org.apache.maven.scm.log.ScmLogger

info

public void info(String content)

Specified by:
info in interface org.apache.maven.scm.log.ScmLogger

info

public void info(String content,
                 Throwable error)

Specified by:
info in interface org.apache.maven.scm.log.ScmLogger

info

public void info(Throwable error)

Specified by:
info in interface org.apache.maven.scm.log.ScmLogger

isWarnEnabled

public boolean isWarnEnabled()

Specified by:
isWarnEnabled in interface org.apache.maven.scm.log.ScmLogger

warn

public void warn(String content)

Specified by:
warn in interface org.apache.maven.scm.log.ScmLogger

warn

public void warn(String content,
                 Throwable error)

Specified by:
warn in interface org.apache.maven.scm.log.ScmLogger

warn

public void warn(Throwable error)

Specified by:
warn in interface org.apache.maven.scm.log.ScmLogger

isErrorEnabled

public boolean isErrorEnabled()

Specified by:
isErrorEnabled in interface org.apache.maven.scm.log.ScmLogger

error

public void error(String content)

Specified by:
error in interface org.apache.maven.scm.log.ScmLogger

error

public void error(String content,
                  Throwable error)

Specified by:
error in interface org.apache.maven.scm.log.ScmLogger

error

public void error(Throwable error)

Specified by:
error in interface org.apache.maven.scm.log.ScmLogger


Copyright © 2008-2009 Codehaus. All Rights Reserved.