https://github.com/svendiedrichsen/log-formatter
Formatter for java.util.logging
https://github.com/svendiedrichsen/log-formatter
formatter json json-format logformat logging
Last synced: 5 months ago
JSON representation
Formatter for java.util.logging
- Host: GitHub
- URL: https://github.com/svendiedrichsen/log-formatter
- Owner: svendiedrichsen
- License: mit
- Created: 2018-04-29T15:58:49.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-07-16T20:59:42.000Z (almost 3 years ago)
- Last Synced: 2025-07-27T18:19:40.322Z (10 months ago)
- Topics: formatter, json, json-format, logformat, logging
- Language: Java
- Homepage:
- Size: 34.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## 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](./json-formatter-gson/README.md)
Formatter using [GSON](https://github.com/google/gson) to create JSON.
### [JSON formatter using Jackson2](./json-formatter-jackson2/README.md)
Formatter using [Jackson2](https://github.com/FasterXML/jackson) to create JSON.