java.lang.Object
net.bull.javamelody.internal.common.LOG

public final class LOG extends Object
Logs des requêtes http exécutées et logs internes.
Author:
Emeric Vernat
  • Field Details

    • LOG4J_ENABLED

      public static final boolean LOG4J_ENABLED
    • LOG4J2_ENABLED

      public static final boolean LOG4J2_ENABLED
    • LOGBACK_ENABLED

      public static final boolean LOGBACK_ENABLED
    • MAX_DEBUGGING_LOGS_COUNT

      public static final int MAX_DEBUGGING_LOGS_COUNT
      See Also:
  • Method Details

    • logHttpRequest

      public static void logHttpRequest(HttpServletRequest httpRequest, String requestName, long duration, boolean systemError, int responseStatus, long responseSize, String filterName)
    • buildLogMessage

      public static String buildLogMessage(HttpServletRequest httpRequest, long duration, boolean systemError, int responseStatus, long responseSize)
    • debug

      public static void debug(String msg)
    • debug

      public static void debug(String msg, Throwable throwable)
    • info

      public static void info(String msg, Throwable throwable)
    • info

      public static void info(String msg)
    • warn

      public static void warn(String msg, Throwable throwable)
    • getDebuggingLogs

      public static List<String> getDebuggingLogs()