|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.logging.Formatter java.util.logging.SimpleFormatter atg.service.log.AtgLogFormatter
public class AtgLogFormatter
Titre : Formateur de log
Description : Formatte la sortie des logs
Copyright : FERRARI Olivier
Field Summary | |
---|---|
protected java.lang.Object[] |
args
Formatteur |
protected static java.lang.String |
className
Nom de la classe |
protected java.util.Date |
date
Formatage de la date |
protected static java.lang.String |
format
Formatage de la date |
protected java.text.MessageFormat |
formatter
Formatteur |
protected java.lang.String |
lineSeparator
Saut de ligne |
Constructor Summary | |
---|---|
AtgLogFormatter()
Constructeur |
Method Summary | |
---|---|
java.lang.String |
format(java.util.logging.LogRecord logrecord)
Retourne le message formaté |
static java.lang.String |
getCallerMethod()
Retourne la méthode appelante |
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 |
---|
protected static java.lang.String className
protected java.util.Date date
protected static final java.lang.String format
protected java.text.MessageFormat formatter
protected java.lang.Object[] args
protected java.lang.String lineSeparator
Constructor Detail |
---|
public AtgLogFormatter()
Method Detail |
---|
public java.lang.String format(java.util.logging.LogRecord logrecord)
format
in class java.util.logging.SimpleFormatter
logrecord
- Message
public static java.lang.String getCallerMethod()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |