|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.logging.Formatter
org.compiere.util.CLogFormatter
public class CLogFormatter
Compiere Log Formatter
| Field Summary | |
|---|---|
static String |
NL
New Line |
| Method Summary | |
|---|---|
String |
format(LogRecord record)
Format |
static CLogFormatter |
get()
Get Formatter |
static String |
getClassMethod(LogRecord record)
Get Class Method from Log Record |
static String |
getExceptionTrace(LogRecord record)
Get Log Exception |
String |
getHead(Handler h)
Return the header string for a set of formatted records. |
static String |
getParameters(LogRecord record)
Get Log Parameters |
String |
getTail(Handler h)
Return the tail string for a set of formatted records. |
void |
setFormat(boolean shortFormat)
Set Format |
| Methods inherited from class java.util.logging.Formatter |
|---|
formatMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static String NL
| Method Detail |
|---|
public static CLogFormatter get()
public String format(LogRecord record)
format in class Formatterrecord - log record
public String getHead(Handler h)
getHead in class Formatterh - The target handler.
public String getTail(Handler h)
getTail in class Formatterh - The target handler.
public void setFormat(boolean shortFormat)
shortFormat - formatpublic static String getClassMethod(LogRecord record)
record - record
public static String getParameters(LogRecord record)
record - log record
public static String getExceptionTrace(LogRecord record)
record - log record
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||