Class com.symantec.itools.lang.Debug
All Packages Class Hierarchy This Package Previous Next Index
Class com.symantec.itools.lang.Debug
Object
|
+----com.symantec.itools.lang.Debug
- public class Debug
- extends Object
- Version:
- 1.0
- Author:
- Symantec Internet Tools Division
- Since:
- VCafe 3.0
-
ASSERT
-
-
ASSERT_OFF
-
-
DEBUG_OFF
-
-
ERROR
-
-
EXCEPTION
-
-
INFORMATION
-
-
TRACE
-
-
WARNING
-
-
assertOff
-
-
errorOff
-
-
exceptionOff
-
-
informationOff
-
-
traceOff
-
-
warningOff
-
-
writer
-
-
com.symantec.itools.lang.Debug()
-
-
assert(boolean, String)
-
-
finishLog()
-
-
getExecutionContext(int)
-
-
getStackTrace()
-
-
isAssertOff()
-
-
isErrorOff()
-
-
isExceptionOff()
-
-
isInformationOff()
-
-
isTraceOff()
-
-
isWarningOff()
-
-
log(int, ExecutionContext, String)
-
-
logError(String)
-
-
logException(Throwable)
-
-
logInformation(String)
-
-
logTrace(String)
-
-
logWarning(String)
-
-
setAssertOff(boolean)
-
-
setErrorOff(boolean)
-
-
setExceptionOff(boolean)
-
-
setInformationOff(boolean)
-
-
setTraceOff(boolean)
-
-
setWarningOff(boolean)
-
-
setWriter(String)
-
-
setWriter(Writer)
-
-
setWriter(OutputStream)
-
-
setWriter(File)
-
-
setWriter(URL)
-
-
setWriter(FileDescriptor)
-
-
startLog(Class, String)
-
-
typeToString(int)
-
ASSERT
public static final int ASSERT
-
- Since:
VCafe 3.0
ASSERT_OFF
public static final boolean ASSERT_OFF
-
- Since:
VCafe 3.0
DEBUG_OFF
public static final boolean DEBUG_OFF
-
- Since:
VCafe 3.0
ERROR
public static final int ERROR
-
- Since:
VCafe 3.0
EXCEPTION
public static final int EXCEPTION
-
- Since:
VCafe 3.0
INFORMATION
public static final int INFORMATION
-
- Since:
VCafe 3.0
TRACE
public static final int TRACE
-
- Since:
VCafe 3.0
WARNING
public static final int WARNING
-
- Since:
VCafe 3.0
assertOff
protected static boolean assertOff
errorOff
protected static boolean errorOff
exceptionOff
protected static boolean exceptionOff
informationOff
protected static boolean informationOff
-
- Since:
VCafe 3.0
traceOff
protected static boolean traceOff
warningOff
protected static boolean warningOff
writer
protected static java.io.PrintWriter writer
-
- Since:
VCafe 3.0
Debug
protected Debug()
assert
public static void assert(boolean f,
String msg)
-
- Parameters:
- f - TODO
- msg - TODO
- Since:
- VCafe 3.0
finishLog
public static void finishLog()
-
- Since:
- VCafe 3.0
getExecutionContext
public static com.symantec.itools.lang.ExecutionContext getExecutionContext(int level)
-
- Parameters:
- level - TODO
- Since:
- VCafe 3.0
getStackTrace
protected static java.lang.String getStackTrace()
-
- Since:
- VCafe 3.0
isAssertOff
public static boolean isAssertOff()
-
- Since:
- VCafe 3.0
isErrorOff
public static boolean isErrorOff()
-
- Since:
- VCafe 3.0
isExceptionOff
public static boolean isExceptionOff()
-
- Since:
- VCafe 3.0
isInformationOff
public static boolean isInformationOff()
-
- Since:
- VCafe 3.0
isTraceOff
public static boolean isTraceOff()
-
- Since:
- VCafe 3.0
isWarningOff
public static boolean isWarningOff()
-
- Since:
- VCafe 3.0
log
protected static void log(int type,
ExecutionContext context,
String msg)
-
- Parameters:
- type - TODO
- context - TODO
- msg - TODO
- Since:
- VCafe 3.0
logError
public static void logError(String msg)
-
- Parameters:
- msg - TODO
- Since:
- VCafe 3.0
logException
public static void logException(Throwable ex)
-
- Parameters:
- ex - TODO
- Since:
- VCafe 3.0
logInformation
public static void logInformation(String msg)
-
- Parameters:
- msg - TODO
- Since:
- VCafe 3.0
logTrace
public static void logTrace(String action)
-
- Parameters:
- action - TODO
- Since:
- VCafe 3.0
logWarning
public static void logWarning(String msg)
-
- Parameters:
- msg - TODO
- Since:
- VCafe 3.0
setAssertOff
public static void setAssertOff(boolean f)
-
- Parameters:
- f - TODO
- Since:
- VCafe 3.0
setErrorOff
public static void setErrorOff(boolean f)
-
- Parameters:
- f - TODO
- Since:
- VCafe 3.0
setExceptionOff
public static void setExceptionOff(boolean f)
-
- Parameters:
- f - TODO
- Since:
- VCafe 3.0
setInformationOff
public static void setInformationOff(boolean f)
-
- Parameters:
- f - TODO
- Since:
- VCafe 3.0
setTraceOff
public static void setTraceOff(boolean f)
-
- Parameters:
- f - TODO
- Since:
- VCafe 3.0
setWarningOff
public static void setWarningOff(boolean f)
-
- Parameters:
- f - TODO
- Since:
- VCafe 3.0
setWriter
public static void setWriter(String str) throws IOException
-
- Parameters:
- str - TODO
- Throws: IOException
-
- Since:
- VCafe 3.0
setWriter
public static void setWriter(Writer w)
-
- Parameters:
- w - TODO
- Since:
- VCafe 3.0
setWriter
public static void setWriter(OutputStream stream)
-
- Parameters:
- stream - TODO
- Since:
- VCafe 3.0
setWriter
public static void setWriter(File file) throws IOException
-
- Parameters:
- file - TODO
- Throws: IOException
-
- Since:
- VCafe 3.0
setWriter
public static void setWriter(URL url) throws IOException
-
- Parameters:
- url - TODO
- Throws: IOException
-
- Since:
- VCafe 3.0
setWriter
public static void setWriter(FileDescriptor descriptor)
-
- Parameters:
- descriptor - TODO
- Since:
- VCafe 3.0
startLog
public static void startLog(Class clazz,
String version)
-
- Parameters:
- clazz - TODO
- version - TODO
- Since:
- VCafe 3.0
typeToString
protected static java.lang.String typeToString(int type)
All Packages Class Hierarchy This Package Previous Next Index