public class DebugFormatterFileText extends Formatter
------- 18.09.2003
16:58:22,960:+0200(TID:......) ---------------------- STATUS Ausgabedatei angelegt. #000000 18.09.2003
16:58:22,960:+0200(TID:000010) ---------------------- INFO LOGGER :ApplikationName MELDUNG: Aktuelle
Debugeinstellungen ---------------------------------------------- Registrierte DebugLogger: global ApplikationName
Basiseinstellung des Wurzel-DebugLoggers ---------------------------------------------- Name
:ApplikationName DebugLevel :ALL Filter :null ParentName :java.util.logging.LogManager$RootLogger@e7b241
RCS-Bundle :null RCS-Bundle-Name :null #000001 18.09.2003 16:58:22,970:+0200(TID:000010) ######################
FEHLER LOGGER :ApplikationName.hck.debug.TestLogger MELDUNG: hck.debug.TestLogger :Testausgabe in SEVERE #000002
18.09.2003 16:58:22,970:+0200(TID:000010) ====================== WARNUNG LOGGER :ApplikationName.hck.debug.TestLogger
MELDUNG: hck.debug.TestLogger :Testausgabe in WARNING #000003 18.09.2003 16:58:22,970:+0200(TID:000010)
---------------------- INFO LOGGER :ApplikationName.hck.debug.TestLogger MELDUNG: hck.debug.TestLogger :Testausgabe
in INFO #000004 18.09.2003 16:58:23,070:+0200(TID:000010) ...................... KONFIG LOGGER
:ApplikationName.hck.debug.TestLogger MELDUNG: hck.debug.TestLogger :Testausgabe in CONFIG #000005 18.09.2003
16:58:23,070:+0200(TID:000010) . . . . . . . . FEIN LOGGER :ApplikationName.hck.debug.TestLogger MELDUNG:
hck.debug.TestLogger :Testausgabe in FINE #000006 18.09.2003 16:58:23,070:+0200(TID:000010) . . . . . . . .
FEINER LOGGER :ApplikationName.hck.debug.TestLogger MELDUNG: hck.debug.TestLogger :Testausgabe in FINER #000007
18.09.2003 16:58:23,070:+0200(TID:000010) . . . . . . . . DETAIL LOGGER :ApplikationName.hck.debug.TestLogger
MELDUNG: hck.debug.TestLogger :Testausgabe in FINEST
Modifier and Type | Field and Description |
---|---|
private static DateFormat |
_absoluteMillisecondsFormat
Formatstring für das Ausgabeformat des Zeitstempels.
|
private static DecimalFormat |
_numberFormat
Formatstring mit Angabe für die Formatierung der Zahlenausgaben für die lfd.
|
private static String |
DOT_LINE
Linientyp wird bei der Ausgabe vom Level KONFIGURATION verwendet
|
private static String |
DOUBLE_LINE
Linientyp wird bei der Ausgabe vom Level WARNUNG verwendet
|
private static String |
HASH_LINE
Linientyp wird bei der Ausgabe vom Level FEHLER verwendet
|
private static String |
NEWLINE
Systemabhängig zur Laufzeit ermittelter String für den Zeilenumbruch.
|
private static String |
SIMPLE_LINE
Linientyp wird bei der Ausgabe vom Level FEIN, FEINER und DETAIL verwendet
|
private static String |
SINGLE_LINE
Linientyp wird bei der Ausgabe vom Level INFO verwendet
|
Constructor and Description |
---|
DebugFormatterFileText() |
Modifier and Type | Method and Description |
---|---|
String |
format(LogRecord lr)
Gibt dei DebungMeldung aus
|
String |
getHead(Handler h)
Gibt am Anfang des Protokolls bzw.
|
String |
getTail(Handler h)
Gibt am Ende des Protokolls bzw.
|
formatMessage
private static final DateFormat _absoluteMillisecondsFormat
private static final DecimalFormat _numberFormat
private static final String NEWLINE
private static final String HASH_LINE
private static final String DOUBLE_LINE
private static final String SINGLE_LINE
private static final String DOT_LINE
private static final String SIMPLE_LINE
public String getHead(Handler h)