Skip to content

Instantly share code, notes, and snippets.

@NBParis
NBParis / app.java
Last active July 2, 2020 12:56
JSON format with Log4j2
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
public class App {
public static void main(String[] args) {
Logger logger = LogManager.getLogger(App.class);
logger.trace("Index :: Logging Message !");