|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.logging.Formatter
com.bea.logging.LogMessageFormatter
public class LogMessageFormatter
Formats log messages to be displayed on the console.
| Field Summary | |
|---|---|
static int |
DIAG_CTX_ID
Deprecated. |
static int |
FORMATTED_DATE
Deprecated. |
static int[] |
LOG_FILE_FIELDS
Deprecated. |
static int |
MACHINE_NAME
Deprecated. |
static int |
MESSAGE
Deprecated. |
static int |
MESSAGE_ID
Deprecated. |
static int |
RECORD_DELIMITER
Deprecated. |
static int |
SERVER_NAME
Deprecated. |
static int |
SEVERITY
Deprecated. |
static int[] |
STDOUT_FIELDS
Deprecated. |
static int |
SUBSYSTEM
Deprecated. |
static int |
THREAD_NAME
Deprecated. |
static int |
TIMESTAMP
Deprecated. |
static int |
TRANSACTION_ID
Deprecated. |
static int |
USER_ID
Deprecated. |
| Constructor Summary | |
|---|---|
LogMessageFormatter()
Deprecated. Initializes the console formatter with the configuration information in the LogMBean. |
|
LogMessageFormatter(int[] fieldFormat)
Deprecated. |
|
| Method Summary | |
|---|---|
protected static void |
appendToBuffer(StringBuffer buf,
String str)
Deprecated. Appends the string to the buffer, surrounding it with the delimiters. |
String |
format(LogRecord rec)
Deprecated. Formats a WLLogRecord object into a String representation. |
int |
getStackTraceDepth()
Deprecated. |
boolean |
isStackTraceEnabled()
Deprecated. |
void |
setDateFormatPattern(String pattern)
Deprecated. |
void |
setMessageIdEnabled(boolean value)
Deprecated. |
void |
setStackTraceDepth(int depth)
Deprecated. |
void |
setStackTraceEnabled(boolean traceEnabled)
Deprecated. |
| Methods inherited from class java.util.logging.Formatter |
|---|
formatMessage, getHead, getTail |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int RECORD_DELIMITER
public static final int FORMATTED_DATE
public static final int SEVERITY
public static final int SUBSYSTEM
public static final int MACHINE_NAME
public static final int SERVER_NAME
public static final int THREAD_NAME
public static final int USER_ID
public static final int TRANSACTION_ID
public static final int DIAG_CTX_ID
public static final int TIMESTAMP
public static final int MESSAGE_ID
public static final int MESSAGE
public static final int[] STDOUT_FIELDS
public static final int[] LOG_FILE_FIELDS
| Constructor Detail |
|---|
public LogMessageFormatter()
logMBean - The LogMBean reference which specifies some of the formatting
options, that control the log output format to stdout.public LogMessageFormatter(int[] fieldFormat)
| Method Detail |
|---|
public void setMessageIdEnabled(boolean value)
public void setDateFormatPattern(String pattern)
public void setStackTraceEnabled(boolean traceEnabled)
public void setStackTraceDepth(int depth)
public String format(LogRecord rec)
format in class Formatterrec - The log record that needs to be formatted.
protected static final void appendToBuffer(StringBuffer buf,
String str)
public int getStackTraceDepth()
public boolean isStackTraceEnabled()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs100 Copyright 2006 BEA Systems Inc. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||