Package ch.k43.util
Klasse KLogLineFormatter
java.lang.Object
java.util.logging.Formatter
ch.k43.util.KLogLineFormatter
Format logging output as single formatted line with 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: 2024-06-21T17:51:48.059 I main[1]:Test:main:21 Program start
-
Konstruktorübersicht
-
Methodenübersicht
Von Klasse geerbte Methoden java.util.logging.Formatter
formatMessage, getHead, getTail