|
Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 API Reference 11g Release 1 (10.3.1) Part Number E13941-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.logging.Formatter
weblogic.logging.ConsoleFormatter
weblogic.logging.LogFileFormatter
public final class LogFileFormatter
Formats log messages to be written to the server log file. The server side log files include fields in addition to the client log files, like machine name, server name, user and transactions id.
Field Summary | |
---|---|
static String |
BEGIN_MARKER
|
Fields inherited from class weblogic.logging.ConsoleFormatter |
---|
FIELD_PREFIX, FIELD_SUFFIX |
Constructor Summary | |
---|---|
LogFileFormatter()
Default constructor. |
|
LogFileFormatter(weblogic.management.configuration.LogFileMBean logFileMBean)
|
Method Summary | |
---|---|
String |
format(LogRecord rec)
Formats a log record for publishing to the server or domain log files. |
String |
toString(LogEntry logEntry)
Formats a log entry object to a string representation. |
Methods inherited from class weblogic.logging.ConsoleFormatter |
---|
appendBuf, appendToBuffer, appendToBuffer, appendToBufferEscaped, appendToBufferEscaped, formatDate, formatDateObject |
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 String BEGIN_MARKER
Constructor Detail |
---|
public LogFileFormatter()
public LogFileFormatter(weblogic.management.configuration.LogFileMBean logFileMBean)
Method Detail |
---|
public String format(LogRecord rec)
format
in class ConsoleFormatter
rec
- The log record to be formatted.
public String toString(LogEntry logEntry)
toString
in class ConsoleFormatter
logEntry
-
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm Copyright 1996, 2009, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 API Reference 11g Release 1 (10.3.1) Part Number E13941-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |