Package ch.k43.util
Klasse KLogCSVFormatter
java.lang.Object
java.util.logging.Formatter
ch.k43.util.KLogCSVFormatter
Format logging output as single CSV line with UUID, time stamp, logging level, code location and the logging information.
The KLog.debug(), KLog.info() and KLog.error() adds the code location, delimited by KLog.DELIMITER which is then formatted here.
Example: KLog.info("Program start"); Output: dd5ff181-34bb-4f34-982d-65c8b4a0f264,2024-06-21T18:16:49.996,Information,main[1]:Test:main:21,Program startThe following properties are supported:
ch.k43.util.KLogCSVFormatter.writeheader = true/false
-
Konstruktorübersicht
-
Methodenübersicht
Von Klasse geerbte Methoden java.util.logging.Formatter
formatMessage, getTail
-
Konstruktordetails
-
KLogCSVFormatter
public KLogCSVFormatter()Class constructor.
-
-
Methodendetails