Class LogUtil
java.lang.Object
jp.ecuacion.lib.core.util.LogUtil
Provides multiple-logger-used fixed procedures.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidlogSystemError(DetailLogger detailLog, Throwable throwable) Logs throwable.static voidlogSystemError(DetailLogger detailLog, Throwable throwable, String additionalMessage) Logs throwable.
-
Method Details
-
logSystemError
public static void logSystemError(@RequireNonnull DetailLogger detailLog, @RequireNonnull Throwable throwable) Logs throwable.- Parameters:
detailLog- DetailLogger instancethrowable- throwable
-
logSystemError
public static void logSystemError(@RequireNonnull DetailLogger detailLog, @RequireNonnull Throwable throwable, @Nullable String additionalMessage) Logs throwable.- Parameters:
detailLog- DetailLogger instancethrowable- throwableadditionalMessage- additionalMessage, may benullif noadditionalMessageis needed. In the case onullno additional message is output.
-