Package org.jumpmind.symmetric.util
Class LogSummaryAppenderUtils
java.lang.Object
org.jumpmind.symmetric.util.LogSummaryAppenderUtils
Compiles against slf4j and only instantiates the helper if log4j is present
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
clearAllLogSummaries
(String engineName) static org.slf4j.event.Level
static File
static File
static List<LogSummary>
getLogSummaries
(String engineName, org.slf4j.event.Level level) static LogSummaryAppender
static List<LogSummary>
getLogSummaryErrors
(String engineName) static List<LogSummary>
getLogSummaryWarnings
(String engineName) static org.slf4j.event.Level
static void
static void
initialize
(boolean isDebug, boolean isVerbose, boolean isNoConsole, boolean isNoLog, String overrideLogFileName) static boolean
static void
-
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
-
clearAllLogSummaries
-
getLogSummaryWarnings
-
getLogSummaryErrors
-
getLogSummaries
-
getLogDir
-
getLogFile
-
isDefaultLogLayoutPattern
public static boolean isDefaultLogLayoutPattern() -
setLevel
-
getLevel
-
getRootLevel
public static org.slf4j.event.Level getRootLevel()
-