Package com.sun.identity.log.spi
Interface IDebug
-
- All Known Implementing Classes:
ISDebug
public interface IDebugA DebugInterface class is necessary because different clients have a requirement to direct their debug outputs to different destinations. DSAME write to debug files.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddebug(int level, String msg)The method which performs the actual debug operation.voiddebug(int level, String msg, Throwable e)The method which performs the actual debug operation.booleanmessageEnabled()Check whether debug message level is setbooleanwarningEnabled()Check whether debug warning level is set
-
-
-
Field Detail
-
MESSAGE
static final int MESSAGE
Integer constant represent MESSAGE log level.- See Also:
- Constant Field Values
-
WARNING
static final int WARNING
Integer constant represent WARNING log level.- See Also:
- Constant Field Values
-
ERROR
static final int ERROR
Integer constant represent ERROR log level.- See Also:
- Constant Field Values
-
-
Method Detail
-
debug
void debug(int level, String msg, Throwable e)The method which performs the actual debug operation.- Parameters:
level- The level of the debug message.msg- The message string, which should be i18n-ed here.e- The exception whose stacktrace is required.
-
debug
void debug(int level, String msg)The method which performs the actual debug operation.- Parameters:
level- The level of the debug message.msg- The message string, which should be i18n-ed here.
-
messageEnabled
boolean messageEnabled()
Check whether debug message level is set- Returns:
- true if debug level is set to "message".
-
warningEnabled
boolean warningEnabled()
Check whether debug warning level is set- Returns:
- true if debug level is set to "warning".
-
-