Class 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
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.logging.Formatter
formatMessage, getHead, getTail
-
Constructor Details
-
KLogLineFormatter
public KLogLineFormatter()Class constructor.
-
-
Method Details
-
format
-
toString
-