org.codehaus.mojo.shitty
Class ScriptLogger

java.lang.Object
  extended by org.codehaus.mojo.shitty.ScriptLogger
All Implemented Interfaces:
org.apache.maven.plugin.logging.Log

public class ScriptLogger
extends java.lang.Object
implements org.apache.maven.plugin.logging.Log

Adapter for script logging, so that it dosen't get hijacked.

Version:
$Id: ScriptLogger.groovy 6726 2008-04-08 14:37:19Z user57 $
Author:
Jason Dillon

Constructor Summary
ScriptLogger()
           
ScriptLogger(java.io.PrintStream out, java.io.PrintStream err)
           
ScriptLogger(org.codehaus.groovy.maven.common.StreamPair streams)
           
 
Method Summary
 void debug(java.lang.CharSequence content)
           
 void debug(java.lang.CharSequence content, java.lang.Throwable cause)
           
 void debug(java.lang.Throwable cause)
           
 void error(java.lang.CharSequence content)
           
 void error(java.lang.CharSequence content, java.lang.Throwable cause)
           
 void error(java.lang.Throwable cause)
           
 groovy.lang.MetaClass getMetaClass()
           
 java.lang.Object getProperty(java.lang.String name)
           
 void info(java.lang.CharSequence content)
           
 void info(java.lang.CharSequence content, java.lang.Throwable cause)
           
 void info(java.lang.Throwable cause)
           
 java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args)
           
 boolean isDebugEnabled()
           
 boolean isErrorEnabled()
           
 boolean isInfoEnabled()
           
 boolean isWarnEnabled()
           
 void setMetaClass(groovy.lang.MetaClass metaClass)
           
 void setProperty(java.lang.String name, java.lang.Object value)
           
 void warn(java.lang.CharSequence content)
           
 void warn(java.lang.CharSequence content, java.lang.Throwable cause)
           
 void warn(java.lang.Throwable cause)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptLogger

public ScriptLogger(java.io.PrintStream out,
                    java.io.PrintStream err)

ScriptLogger

public ScriptLogger(org.codehaus.groovy.maven.common.StreamPair streams)

ScriptLogger

public ScriptLogger()
Method Detail

isDebugEnabled

public boolean isDebugEnabled()
Specified by:
isDebugEnabled in interface org.apache.maven.plugin.logging.Log

isInfoEnabled

public boolean isInfoEnabled()
Specified by:
isInfoEnabled in interface org.apache.maven.plugin.logging.Log

isWarnEnabled

public boolean isWarnEnabled()
Specified by:
isWarnEnabled in interface org.apache.maven.plugin.logging.Log

isErrorEnabled

public boolean isErrorEnabled()
Specified by:
isErrorEnabled in interface org.apache.maven.plugin.logging.Log

debug

public void debug(java.lang.CharSequence content)
Specified by:
debug in interface org.apache.maven.plugin.logging.Log

debug

public void debug(java.lang.CharSequence content,
                  java.lang.Throwable cause)
Specified by:
debug in interface org.apache.maven.plugin.logging.Log

debug

public void debug(java.lang.Throwable cause)
Specified by:
debug in interface org.apache.maven.plugin.logging.Log

info

public void info(java.lang.CharSequence content)
Specified by:
info in interface org.apache.maven.plugin.logging.Log

info

public void info(java.lang.CharSequence content,
                 java.lang.Throwable cause)
Specified by:
info in interface org.apache.maven.plugin.logging.Log

info

public void info(java.lang.Throwable cause)
Specified by:
info in interface org.apache.maven.plugin.logging.Log

warn

public void warn(java.lang.CharSequence content)
Specified by:
warn in interface org.apache.maven.plugin.logging.Log

warn

public void warn(java.lang.CharSequence content,
                 java.lang.Throwable cause)
Specified by:
warn in interface org.apache.maven.plugin.logging.Log

warn

public void warn(java.lang.Throwable cause)
Specified by:
warn in interface org.apache.maven.plugin.logging.Log

error

public void error(java.lang.CharSequence content)
Specified by:
error in interface org.apache.maven.plugin.logging.Log

error

public void error(java.lang.CharSequence content,
                  java.lang.Throwable cause)
Specified by:
error in interface org.apache.maven.plugin.logging.Log

error

public void error(java.lang.Throwable cause)
Specified by:
error in interface org.apache.maven.plugin.logging.Log

getMetaClass

public groovy.lang.MetaClass getMetaClass()

setMetaClass

public void setMetaClass(groovy.lang.MetaClass metaClass)

invokeMethod

public java.lang.Object invokeMethod(java.lang.String name,
                                     java.lang.Object args)

getProperty

public java.lang.Object getProperty(java.lang.String name)

setProperty

public void setProperty(java.lang.String name,
                        java.lang.Object value)


Copyright © 2007-2011 Codehaus. All Rights Reserved.