JUL log formatter

Parent for JUL JSON formatter modules

Лицензия

Лицензия

Категории

Категории

ORM Данные
Группа

Группа

com.github.svendiedrichsen
Идентификатор

Идентификатор

log-formatter
Последняя версия

Последняя версия

1.0.2
Дата

Дата

Тип

Тип

pom
Описание

Описание

JUL log formatter
Parent for JUL JSON formatter modules
Ссылка на сайт

Ссылка на сайт

https://github.com/svendiedrichsen/log-formatter
Система контроля версий

Система контроля версий

https://github.com/svendiedrichsen/log-formatter.git

Скачать log-formatter

Имя Файла Размер
log-formatter-1.0.2.pom 5 KB
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.svendiedrichsen/log-formatter/ -->
<dependency>
    <groupId>com.github.svendiedrichsen</groupId>
    <artifactId>log-formatter</artifactId>
    <version>1.0.2</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.svendiedrichsen/log-formatter/
implementation 'com.github.svendiedrichsen:log-formatter:1.0.2'
// https://jarcasting.com/artifacts/com.github.svendiedrichsen/log-formatter/
implementation ("com.github.svendiedrichsen:log-formatter:1.0.2")
'com.github.svendiedrichsen:log-formatter:pom:1.0.2'
<dependency org="com.github.svendiedrichsen" name="log-formatter" rev="1.0.2">
  <artifact name="log-formatter" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.github.svendiedrichsen', module='log-formatter', version='1.0.2')
)
libraryDependencies += "com.github.svendiedrichsen" % "log-formatter" % "1.0.2"
[com.github.svendiedrichsen/log-formatter "1.0.2"]

Зависимости

test (1)

Идентификатор библиотеки Тип Версия
org.testng : testng jar 6.8.8

Модули Проекта

  • json-formatter-gson
  • json-formatter-jackson2

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.

JSON formatter using GSON

Formatter using GSON to create JSON.

JSON formatter using Jackson2

Formatter using Jackson2 to create JSON.

Версии библиотеки

Версия
1.0.2
1.0.1
1.0.0