org.codehaus.jam.provider
Interface JamLogger


public interface JamLogger

Author:
Patrick Calahan <email: pcal-at-bea-dot-com>

Method Summary
 void error(java.lang.String msg)
          Outputs an error as appropriate.
 void error(java.lang.Throwable t)
          Outputs an error as appropriate.
 boolean isVerbose()
          Deprecated.  
 boolean isVerbose(java.lang.Class c)
          Returns true if debugging is enabled for the given class.
 boolean isVerbose(java.lang.Object o)
          Returns true if debugging is enabled for the given object.
 void setShowWarnings(boolean b)
          Returns true if display of warnings is enabled.
 void setVerbose(java.lang.Class c)
          Enables verbose output in all JAM classes which are equal to or a subclass of the given classs.
 void verbose(java.lang.String msg)
          Outputs a debug message no matter what.
 void verbose(java.lang.String msg, java.lang.Object ifThisIsVerbose)
          Outputs a debug message if appropriate for the given object.
 void verbose(java.lang.Throwable t)
          Outputs a debug message no matter what.
 void verbose(java.lang.Throwable t, java.lang.Object ifThisIsVerbose)
          Outputs a debug message if appropriate for the given object.
 void warning(java.lang.String w)
          Outputs a debug message as appropriate.
 void warning(java.lang.Throwable t)
          Outputs a debug message as appropriate.
 

Method Detail

verbose

public void verbose(java.lang.String msg,
                    java.lang.Object ifThisIsVerbose)

Outputs a debug message if appropriate for the given object.


verbose

public void verbose(java.lang.Throwable t,
                    java.lang.Object ifThisIsVerbose)

Outputs a debug message if appropriate for the given object.


verbose

public void verbose(java.lang.String msg)

Outputs a debug message no matter what.


verbose

public void verbose(java.lang.Throwable t)

Outputs a debug message no matter what.


warning

public void warning(java.lang.Throwable t)

Outputs a debug message as appropriate.


warning

public void warning(java.lang.String w)

Outputs a debug message as appropriate.


error

public void error(java.lang.Throwable t)

Outputs an error as appropriate.


error

public void error(java.lang.String msg)

Outputs an error as appropriate.


setVerbose

public void setVerbose(java.lang.Class c)
Enables verbose output in all JAM classes which are equal to or a subclass of the given classs.


isVerbose

public boolean isVerbose(java.lang.Object o)
Returns true if debugging is enabled for the given object.


isVerbose

public boolean isVerbose(java.lang.Class c)
Returns true if debugging is enabled for the given class.


setShowWarnings

public void setShowWarnings(boolean b)
Returns true if display of warnings is enabled.


isVerbose

public boolean isVerbose()
Deprecated.