Package com.softwaremining.log
Class LogFactory
java.lang.Object
com.softwaremining.log.LogFactory
Factory for creating Log helpers.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Throwable
clearThrowable
(Throwable source) getExceptionMessageChain
(Throwable throwable) static Log
static String
printNonSMStackTrace
(String message) FOr internal use only print the top nn lines from the stackTace() -static String
printNonSMStackTrace
(Throwable exception) static String
stackTraceToString
(Throwable exception)
-
Constructor Details
-
LogFactory
public LogFactory()
-
-
Method Details
-
getLog
-
clearThrowable
-
printNonSMStackTrace
FOr internal use only print the top nn lines from the stackTace() -- Parameters:
minElementNumber
-maxElements
-- Returns:
-
getExceptionMessageChain
-
printNonSMStackTrace
-
stackTraceToString
-