Package com.ibm.wala.shrike.sourcepos
Class Debug
- java.lang.Object
-
- com.ibm.wala.shrike.sourcepos.Debug
-
public final class Debug extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDebug.LogLevel
-
Field Summary
Fields Modifier and Type Field Description static booleanPRINT_CHARACTER_RANGE_TABLE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidallow(Debug.LogLevel level)static voidappendInfo(java.lang.String str)static voiddebug(java.lang.String str)static voiddebug(java.lang.String str, java.lang.Object... obj)static voiddebug(java.lang.Throwable t)static voiderror(java.lang.String str)static voiderror(java.lang.String str, java.lang.Object... obj)static voiderror(java.lang.Throwable t)static voidfullLogging()static java.io.PrintStreamgetStream(Debug.LogLevel level)static voidignore(Debug.LogLevel level)static voidinfo(java.lang.String str)static voidinfo(java.lang.String str, java.lang.Object... obj)static voidinfo(java.lang.Throwable t)static voidlogTime()static voidnoLogging()static voidsetLogFile(java.lang.String file)static voidsetMinLogLevel(Debug.LogLevel level)Set to log all events with the given or higher prioritystatic voidwarn(java.lang.String str)static voidwarn(java.lang.String str, java.lang.Object... obj)static voidwarn(java.lang.Throwable t)
-
-
-
Field Detail
-
PRINT_CHARACTER_RANGE_TABLE
public static final boolean PRINT_CHARACTER_RANGE_TABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setLogFile
public static void setLogFile(java.lang.String file) throws java.io.FileNotFoundException- Throws:
java.io.FileNotFoundException
-
setMinLogLevel
public static void setMinLogLevel(Debug.LogLevel level)
Set to log all events with the given or higher priority
-
noLogging
public static void noLogging()
-
fullLogging
public static void fullLogging()
-
error
public static void error(java.lang.String str, java.lang.Object... obj)
-
warn
public static void warn(java.lang.String str, java.lang.Object... obj)
-
info
public static void info(java.lang.String str, java.lang.Object... obj)
-
debug
public static void debug(java.lang.String str, java.lang.Object... obj)
-
error
public static void error(java.lang.String str)
-
warn
public static void warn(java.lang.String str)
-
logTime
public static void logTime()
-
info
public static void info(java.lang.String str)
-
appendInfo
public static void appendInfo(java.lang.String str)
-
debug
public static void debug(java.lang.String str)
-
error
public static void error(java.lang.Throwable t)
-
warn
public static void warn(java.lang.Throwable t)
-
info
public static void info(java.lang.Throwable t)
-
debug
public static void debug(java.lang.Throwable t)
-
allow
public static void allow(Debug.LogLevel level)
-
ignore
public static void ignore(Debug.LogLevel level)
-
getStream
public static java.io.PrintStream getStream(Debug.LogLevel level)
-
-