|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--oracle.apps.fnd.wf.common.StreamLog
Simplified version of AppsLog to be used when Apps has NOT been
installed.
This class has been written to basically mimic AppsLog. Most
importantly, it:
OutputStream, which essentially means that
in a single JVM, this can write to a single file.
AppsLog does.
AFLOG_ENABLED and AFLOG_MODULE are not applicable because logging using this class will always be enabled and all modules will always be logged.
| Field Summary | |
static java.lang.String |
RCS_ID
|
static boolean |
RCS_ID_RECORDED
|
| Fields inherited from interface oracle.apps.fnd.common.Log |
ERROR, EVENT, EXCEPTION, OFF, PROCEDURE, STATEMENT, UNEXPECTED |
| Constructor Summary | |
StreamLog(oracle.apps.fnd.common.Context context)
Constructs a StreamLog based on the environment store. |
|
| Method Summary | |
void |
setLevel(int value)
Sets the log level. |
void |
setModule(java.lang.String value)
Module functionality is not supported. |
boolean |
test(java.lang.Object module,
int msgLevel)
Checks whether logging is enabled for this object and level. |
void |
write(java.lang.Object module,
oracle.apps.fnd.common.Message msg,
int msgLevel)
Currently not supported. |
void |
write(java.lang.Object module,
java.lang.String msg,
int msgLevel)
Writes to the log if logging is enabled. |
void |
write(java.lang.String msg,
int msgLevel)
Writes to the log if logging is enabled. |
void |
writeEncoded(java.lang.Object module,
java.lang.String msg,
int msgLevel)
Currently not supported. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String RCS_ID
public static final boolean RCS_ID_RECORDED
| Constructor Detail |
public StreamLog(oracle.apps.fnd.common.Context context)
throws WorkflowException
StreamLog based on the environment store.
Initialization will only once per JVM.context - Context providing the environment storeWorkflowException - Exception| Method Detail |
public void setLevel(int value)
Log are not
supported.setLevel in interface oracle.apps.fnd.common.Logvalue - Log levelpublic void setModule(java.lang.String value)
setModule in interface oracle.apps.fnd.common.Logvalue - Parameter
public boolean test(java.lang.Object module,
int msgLevel)
test in interface oracle.apps.fnd.common.Logmodule - Object writing the message to the logmsgLevel - The level of the message
public void write(java.lang.String msg,
int msgLevel)
write(Object, String, int).write in interface oracle.apps.fnd.common.Logmsg - String to be written to the logmsgLevel - The level of the message
public void write(java.lang.Object module,
java.lang.String msg,
int msgLevel)
AppsLog in order to write a diagnostic message in an
AFLOG-compliant format.write in interface oracle.apps.fnd.common.Logmodule - Represents the object or module writing the message to the
log. If a String is passed, it should be in the form
of [Fully qualified class name].[Method name including arguments].msg - String to be written to the logmsgLevel - The level of the message. The message will be displayed
only if its level is greater than or equal to that of the
Log class.
public void writeEncoded(java.lang.Object module,
java.lang.String msg,
int msgLevel)
writeEncoded in interface oracle.apps.fnd.common.Logmodule - Parametermsg - ParametermsgLevel - Parameter
public void write(java.lang.Object module,
oracle.apps.fnd.common.Message msg,
int msgLevel)
write in interface oracle.apps.fnd.common.Logmodule - Parametermsg - ParametermsgLevel - Parameter
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||