A customizable, efficient, and garbage-free JSON layout for Apache Log4j that encodes log events according to a JSON template.
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-layout-template-json</artifactId>
<version>2.26.0</version>
</dependency>No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Minimal example showing how to create a JsonTemplateLayout instance.
Upgrade Log4j to version 2.14.0 or higher to use this layout.
No dependency data recorded yet.