Package io.github.connellite.logger
Class AbstractLogFormatter
java.lang.Object
java.util.logging.Formatter
io.github.connellite.logger.AbstractLogFormatter
- Direct Known Subclasses:
BracketTimestampLogFormatter,BracketTimestampThreadLineLogFormatter,BracketTimestampThreadLogFormatter,TimestampClassMethodLineLogFormatter,TimestampClassMethodLogFormatter,TimestampThreadClassMethodLineLogFormatter
Shared JUL formatter helpers: zone, timestamp, level, thread, and thrown text.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static StringformatLevel(LogRecord record) protected static StringformatThrown(LogRecord record) Same trailing exception text asSimpleFormatter.protected StringformatTimestamp(LogRecord record, DateTimeFormatter timestamp) protected static StringMethods inherited from class java.util.logging.Formatter
format, formatMessage, getHead, getTail
-
Field Details
-
zoneId
-
-
Constructor Details
-
AbstractLogFormatter
-
-
Method Details
-
formatTimestamp
-
formatLevel
-
threadName
-
formatThrown
Same trailing exception text asSimpleFormatter.
-