public final class LOG extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
LOG4J_ENABLED |
static boolean |
LOG4J2_ENABLED |
static boolean |
LOGBACK_ENABLED |
static int |
MAX_DEBUGGING_LOGS_COUNT |
| Modifier and Type | Method and Description |
|---|---|
static String |
buildLogMessage(HttpServletRequest httpRequest,
long duration,
boolean systemError,
int responseSize) |
static void |
debug(String msg) |
static void |
debug(String msg,
Throwable throwable) |
static List<String> |
getDebuggingLogs() |
static void |
info(String msg) |
static void |
info(String msg,
Throwable throwable) |
static void |
logHttpRequest(HttpServletRequest httpRequest,
String requestName,
long duration,
boolean systemError,
int responseSize,
String filterName) |
static void |
warn(String msg,
Throwable throwable) |
public static final boolean LOG4J_ENABLED
public static final boolean LOG4J2_ENABLED
public static final boolean LOGBACK_ENABLED
public static final int MAX_DEBUGGING_LOGS_COUNT
public static void logHttpRequest(HttpServletRequest httpRequest, String requestName, long duration, boolean systemError, int responseSize, String filterName)
public static String buildLogMessage(HttpServletRequest httpRequest, long duration, boolean systemError, int responseSize)
public static void debug(String msg)
public static void info(String msg)
Copyright © 2008–2017 Emeric Vernat. All rights reserved.