|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1) E12063-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.dss.util.xdo.common.log.DebugUtil
public class DebugUtil
Debug Utility
| Field Summary | |
|---|---|
static java.lang.String |
DEBUG_CFG |
static java.lang.String |
LOG_FILE |
| Constructor Summary | |
|---|---|
DebugUtil() |
|
| Method Summary | |
|---|---|
void |
checkConfigFile()Check the debug configuration file ( xdodebug.cfg ) and turns on the debug mode if the file exists. |
java.lang.String |
getLogDir()Returns the <LogDir> in the debug configuration file. |
int |
getLogLevel()Returns the <LogLevel> in the debug configuration file. |
boolean |
isDebugMode()Returns true if it's in the debug mode |
java.io.InputStream |
logFile(java.io.InputStream in, java.lang.String filename)Logs a file under the <LogDir> specified by xdodebug.cfg. |
java.io.Reader |
logFile(java.io.Reader in, java.lang.String filename)Logs a file under the <LogDir> specified by xdodebug.cfg. |
void |
write(java.lang.Object pThis, java.lang.String pString, int pLevel)Write a log message to <LogDir>/xdo.log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEBUG_CFG
public static final java.lang.String LOG_FILE
| Constructor Detail |
|---|
public DebugUtil()
| Method Detail |
|---|
public void checkConfigFile()
public boolean isDebugMode()
public java.lang.String getLogDir()
public int getLogLevel()
public java.io.InputStream logFile(java.io.InputStream in,
java.lang.String filename)
in -filename -
public java.io.Reader logFile(java.io.Reader in,
java.lang.String filename)
in -filename -
public void write(java.lang.Object pThis,
java.lang.String pString,
int pLevel)
pThis -pString -pLevel -
|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1) E12063-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||