org.apache.felix.scrplugin.mojo
Class MavenLog

java.lang.Object
  extended by org.apache.felix.scrplugin.mojo.MavenLog
All Implemented Interfaces:
org.apache.felix.scrplugin.Log

public class MavenLog
extends java.lang.Object
implements org.apache.felix.scrplugin.Log

The MavenLog class implements the Log interface using the Maven logger created on instantiation.


Method Summary
 void debug(java.lang.String content)
           
 void debug(java.lang.String content, java.lang.Throwable error)
           
 void debug(java.lang.Throwable error)
           
 void error(java.lang.String content)
           
 void error(java.lang.String content, java.lang.String location, int lineNumber)
           
 void error(java.lang.String content, java.lang.String location, int lineNumber, int columnNumber)
           
 void error(java.lang.String content, java.lang.Throwable error)
           
 void error(java.lang.Throwable error)
           
 void info(java.lang.String content)
           
 void info(java.lang.String content, java.lang.Throwable error)
           
 void info(java.lang.Throwable error)
           
 boolean isDebugEnabled()
           
 boolean isErrorEnabled()
           
 boolean isInfoEnabled()
           
 boolean isWarnEnabled()
           
 void warn(java.lang.String content)
           
 void warn(java.lang.String content, java.lang.String location, int lineNumber)
           
 void warn(java.lang.String content, java.lang.String location, int lineNumber, int columnNumber)
           
 void warn(java.lang.String content, java.lang.Throwable error)
           
 void warn(java.lang.Throwable error)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

debug

public void debug(java.lang.String content,
                  java.lang.Throwable error)
Specified by:
debug in interface org.apache.felix.scrplugin.Log
See Also:
Log.debug(java.lang.String, java.lang.Throwable)

debug

public void debug(java.lang.String content)
Specified by:
debug in interface org.apache.felix.scrplugin.Log
See Also:
Log.debug(java.lang.String)

debug

public void debug(java.lang.Throwable error)
Specified by:
debug in interface org.apache.felix.scrplugin.Log
See Also:
Log.debug(java.lang.Throwable)

error

public void error(java.lang.String content,
                  java.lang.Throwable error)
Specified by:
error in interface org.apache.felix.scrplugin.Log
See Also:
Log.error(java.lang.String, java.lang.Throwable)

error

public void error(java.lang.String content,
                  java.lang.String location,
                  int lineNumber)
Specified by:
error in interface org.apache.felix.scrplugin.Log
See Also:
Log.error(java.lang.String, java.lang.String, int)

error

public void error(java.lang.String content,
                  java.lang.String location,
                  int lineNumber,
                  int columnNumber)
Specified by:
error in interface org.apache.felix.scrplugin.Log
See Also:
Log.error(java.lang.String, java.lang.String, int, int)

error

public void error(java.lang.String content)
Specified by:
error in interface org.apache.felix.scrplugin.Log
See Also:
Log.error(java.lang.String)

error

public void error(java.lang.Throwable error)
Specified by:
error in interface org.apache.felix.scrplugin.Log
See Also:
Log.error(java.lang.Throwable)

info

public void info(java.lang.String content,
                 java.lang.Throwable error)
Specified by:
info in interface org.apache.felix.scrplugin.Log
See Also:
Log.info(java.lang.String, java.lang.Throwable)

info

public void info(java.lang.String content)
Specified by:
info in interface org.apache.felix.scrplugin.Log
See Also:
Log.info(java.lang.String)

info

public void info(java.lang.Throwable error)
Specified by:
info in interface org.apache.felix.scrplugin.Log
See Also:
Log.info(java.lang.Throwable)

isDebugEnabled

public boolean isDebugEnabled()
Specified by:
isDebugEnabled in interface org.apache.felix.scrplugin.Log
See Also:
Log.isDebugEnabled()

isErrorEnabled

public boolean isErrorEnabled()
Specified by:
isErrorEnabled in interface org.apache.felix.scrplugin.Log
See Also:
Log.isErrorEnabled()

isInfoEnabled

public boolean isInfoEnabled()
Specified by:
isInfoEnabled in interface org.apache.felix.scrplugin.Log
See Also:
Log.isInfoEnabled()

isWarnEnabled

public boolean isWarnEnabled()
Specified by:
isWarnEnabled in interface org.apache.felix.scrplugin.Log
See Also:
Log.isWarnEnabled()

warn

public void warn(java.lang.String content,
                 java.lang.Throwable error)
Specified by:
warn in interface org.apache.felix.scrplugin.Log
See Also:
Log.warn(java.lang.String, java.lang.Throwable)

warn

public void warn(java.lang.String content,
                 java.lang.String location,
                 int lineNumber)
Specified by:
warn in interface org.apache.felix.scrplugin.Log
See Also:
Log.warn(java.lang.String, java.lang.String, int)

warn

public void warn(java.lang.String content,
                 java.lang.String location,
                 int lineNumber,
                 int columnNumber)
Specified by:
warn in interface org.apache.felix.scrplugin.Log
See Also:
Log.warn(java.lang.String, java.lang.String, int, int)

warn

public void warn(java.lang.String content)
Specified by:
warn in interface org.apache.felix.scrplugin.Log
See Also:
Log.warn(java.lang.String)

warn

public void warn(java.lang.Throwable error)
Specified by:
warn in interface org.apache.felix.scrplugin.Log
See Also:
Log.warn(java.lang.Throwable)


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.