Package io.github.connellite.logger
Class BracketTimestampThreadLogFormatter
java.lang.Object
java.util.logging.Formatter
io.github.connellite.logger.AbstractLogFormatter
io.github.connellite.logger.BracketTimestampThreadLogFormatter
One-line format:
[yyyy-MM-dd HH:mm:ss][LEVEL][thread] message.
Level text, Formatter.formatMessage(LogRecord), and LogRecord.getThrown() match SimpleFormatter.-
Field Summary
Fields inherited from class io.github.connellite.logger.AbstractLogFormatter
zoneId -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.github.connellite.logger.AbstractLogFormatter
formatLevel, formatThrown, formatTimestamp, threadNameMethods inherited from class java.util.logging.Formatter
formatMessage, getHead, getTail
-
Constructor Details
-
BracketTimestampThreadLogFormatter
-
-
Method Details
-
getInstance
Singleton withZoneId.systemDefault(). -
format
-