Log formatter
This project contains java.util.logging.Formatter
implementations usable with JUL logging. Each library provides besides a normal JAR an Uber-Jar containing all required dependencies.
To use one of them you can set the formatter at the specific JUL Handler
implementation.
Each formatter adds a timestamp
property to each log entry derived from the LogRecord
s millis
property. It uses the RFC-3339 format yyyy-MM-dd'T'HH:mm:ss.SSSZ
.
JSON formatter using GSON
Formatter using GSON to create JSON.
JSON formatter using Jackson2
Formatter using Jackson2 to create JSON.