public class Log4jUtils
extends java.lang.Object
| Constructor and Description |
|---|
Log4jUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
flushLogs()
Flushes all configured Log4j2
AbstractOutputStreamAppenders. |
static void |
redirectStreams()
Redirects System.out and System.err to Log4j2
|