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

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

Outputs a debug message if appropriate for the given object.


verbose

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

Outputs a debug message if appropriate for the given object.


verbose

void verbose(java.lang.String msg)

Outputs a debug message no matter what.


verbose

void verbose(java.lang.Throwable t)

Outputs a debug message no matter what.


warning

void warning(java.lang.Throwable t)

Outputs a debug message as appropriate.


warning

void warning(java.lang.String w)

Outputs a debug message as appropriate.


error

void error(java.lang.Throwable t)

Outputs an error as appropriate.


error

void error(java.lang.String msg)

Outputs an error as appropriate.


setVerbose

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

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


isVerbose

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


setShowWarnings

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


isVerbose

boolean isVerbose()
Deprecated.