Package com.gigaspaces.logger
Class LogUtils
java.lang.Object
com.gigaspaces.logger.LogUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic Stringstatic Stringstatic StringformatDuration(long startTime, String message) static longgetCurrTimeIfDebugEnabled(org.slf4j.Logger logger) static longgetCurrTimeIfTraceEnabled(org.slf4j.Logger logger) static voidthrowing(LogLevel level, org.slf4j.Logger logger, Class<?> sourceClass, String sourceMethod, Throwable thrown, String format, Object... params) static voidstatic voidthrowing(org.slf4j.Logger logger, Class<?> sourceClass, String sourceMethod, Throwable thrown, String format, Object... params) static inttoSeverity(Level level)
-
Field Details
-
SEVERE
public static final int SEVERE- See Also:
-
WARNING
public static final int WARNING- See Also:
-
INFO
public static final int INFO- See Also:
-
CONFIG
public static final int CONFIG- See Also:
-
FINE
public static final int FINE- See Also:
-
FINER
public static final int FINER- See Also:
-
-
Constructor Details
-
LogUtils
public LogUtils()
-
-
Method Details
-
getCurrTimeIfDebugEnabled
public static long getCurrTimeIfDebugEnabled(org.slf4j.Logger logger) -
getCurrTimeIfTraceEnabled
public static long getCurrTimeIfTraceEnabled(org.slf4j.Logger logger) -
formatDuration
-
format
-
format
-
throwing
-
throwing
-
throwing
-
entering
-
entering
-
entering
-
entering
-
exiting
-
exiting
-
exiting
-
exiting
-
toSeverity
-