Class LogSummaryAppenderUtils

java.lang.Object
org.jumpmind.symmetric.util.LogSummaryAppenderUtils

public class LogSummaryAppenderUtils extends Object
Compiles against slf4j and only instantiates the helper if log4j is present
  • Method Details

    • initialize

      public static void initialize(boolean isDebug, boolean isVerbose, boolean isNoConsole, boolean isNoLog, String overrideLogFileName) throws MalformedURLException
      Throws:
      MalformedURLException
    • initialize

      public static void initialize()
    • getLogSummaryAppender

      public static LogSummaryAppender getLogSummaryAppender()
    • clearAllLogSummaries

      public static void clearAllLogSummaries(String engineName)
    • getLogSummaryWarnings

      public static List<LogSummary> getLogSummaryWarnings(String engineName)
    • getLogSummaryErrors

      public static List<LogSummary> getLogSummaryErrors(String engineName)
    • getLogSummaries

      public static List<LogSummary> getLogSummaries(String engineName, org.slf4j.event.Level level)
    • getLogDir

      public static File getLogDir()
    • getLogFile

      public static File getLogFile()
    • isDefaultLogLayoutPattern

      public static boolean isDefaultLogLayoutPattern()
    • setLevel

      public static void setLevel(String loggerName, org.slf4j.event.Level level)
    • getLevel

      public static org.slf4j.event.Level getLevel(String loggerName)
    • getRootLevel

      public static org.slf4j.event.Level getRootLevel()