Interface JamLogger
-
- All Known Subinterfaces:
ElementContext,JamServiceContext
- All Known Implementing Classes:
JamLoggerImpl,JamServiceContextImpl
public interface JamLogger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voiderror(String msg)Outputs an error as appropriate.voiderror(Throwable t)Outputs an error as appropriate.booleanisVerbose()Deprecated.booleanisVerbose(Class c)booleanisVerbose(Object o)voidsetShowWarnings(boolean b)voidsetVerbose(Class c)voidverbose(String msg)Outputs a debug message no matter what.voidverbose(String msg, Object ifThisIsVerbose)Outputs a debug message if appropriate for the given object.voidverbose(Throwable t)Outputs a debug message no matter what.voidverbose(Throwable t, Object ifThisIsVerbose)Outputs a debug message if appropriate for the given object.voidwarning(String w)Outputs a debug message as appropriate.voidwarning(Throwable t)Outputs a debug message as appropriate.
-
-
-
Method Detail
-
setVerbose
void setVerbose(Class c)
-
isVerbose
boolean isVerbose(Object o)
-
isVerbose
boolean isVerbose(Class c)
-
setShowWarnings
void setShowWarnings(boolean b)
-
verbose
void verbose(String msg, Object ifThisIsVerbose)
Outputs a debug message if appropriate for the given object.
-
verbose
void verbose(Throwable t, Object ifThisIsVerbose)
Outputs a debug message if appropriate for the given object.
-
verbose
void verbose(String msg)
Outputs a debug message no matter what.
-
verbose
void verbose(Throwable t)
Outputs a debug message no matter what.
-
warning
void warning(Throwable t)
Outputs a debug message as appropriate.
-
warning
void warning(String w)
Outputs a debug message as appropriate.
-
error
void error(Throwable t)
Outputs an error as appropriate.
-
error
void error(String msg)
Outputs an error as appropriate.
-
isVerbose
boolean isVerbose()
Deprecated.- Returns:
-
-