Package io.github.connellite.logger
Class BracketTimestampLogFormatter
java.lang.Object
java.util.logging.Formatter
io.github.connellite.logger.AbstractLogFormatter
io.github.connellite.logger.BracketTimestampLogFormatter
One-line format:
[yyyy-MM-dd HH:mm:ss][LEVEL] 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
Modifier and TypeMethodDescriptionstatic BracketTimestampLogFormatterSingleton withZoneId.systemDefault().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
-
BracketTimestampLogFormatter
-
-
Method Details
-
getInstance
Singleton withZoneId.systemDefault(). -
format
-