Package io.github.connellite.logger
Class TimestampThreadClassMethodLineLogFormatter
java.lang.Object
java.util.logging.Formatter
io.github.connellite.logger.AbstractLogFormatter
io.github.connellite.logger.TimestampThreadClassMethodLineLogFormatter
One-line format similar to
TimestampClassMethodLineLogFormatter, with the current thread:
yyyy-MM-dd HH:mm:ss,SSS [thread] class method:line - message.
Not recommended for production use because stack inspection can be relatively expensive.
Line number is inferred from the current stack and may be unavailable in some environments.
-
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
-
TimestampThreadClassMethodLineLogFormatter
-
-
Method Details
-
getInstance
Singleton withZoneId.systemDefault(). -
format
-