public class ServiceDebugLog
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEBUG_LOG_CUSTOM_LOGGING |
static java.lang.String |
DEBUG_LOG_INPUT |
static java.lang.String |
DEBUG_LOG_LOGGING |
static java.lang.String |
DEBUG_LOG_MAPS |
static java.lang.String |
DEBUG_LOG_VARIABLE |
Constructor and Description |
---|
ServiceDebugLog() |
ServiceDebugLog(java.lang.String serviceName,
boolean debug) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
addServiceNameToMessage(java.lang.String message) |
void |
debugInit()
Initializes debug log.
|
void |
debugPrintln(java.lang.String msg)
Prints a line to the debug log if debugging is enabled.
|
void |
debugPrintln(java.lang.String msg,
java.lang.Exception e)
Prints a message and Exception to the debug log if debugging is enabled.
|
void |
debugPrintln(java.lang.String msg,
com.ibm.staf.STAFResult r)
Prints a message and STAFResult to the debug log if debugging is enabled.
|
void |
debugTerm()
Closing debug log.
|
public static final java.lang.String DEBUG_LOG_LOGGING
public static final java.lang.String DEBUG_LOG_VARIABLE
public static final java.lang.String DEBUG_LOG_MAPS
public static final java.lang.String DEBUG_LOG_INPUT
public static final java.lang.String DEBUG_LOG_CUSTOM_LOGGING
public ServiceDebugLog()
public ServiceDebugLog(java.lang.String serviceName, boolean debug)
public void debugInit()
public void debugPrintln(java.lang.String msg)
msg
- the message to print.public void debugPrintln(java.lang.String msg, com.ibm.staf.STAFResult r)
msg
- the message to print.t
- the STAFResult to print.public void debugPrintln(java.lang.String msg, java.lang.Exception e)
msg
- the message to print.e
- the Exception to print.public java.lang.String addServiceNameToMessage(java.lang.String message)
public void debugTerm()
Copyright © SAS Institute. All Rights Reserved.