Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 759 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 759 Bytes

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 LogRecords millis property. It uses the RFC-3339 format yyyy-MM-dd'T'HH:mm:ss.SSSZ.

Formatter using GSON to create JSON.

Formatter using Jackson2 to create JSON.