java.lang.Object
jp.ecuacion.lib.core.util.LogUtil
Provides logging-related utility methods, espacially log
Throable.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidLogs throwable.voidLogs throwable.voidLogs throwable.voidLogs throwable.
-
Field Details
-
PARTITION_LARGE
is a large partition or separator which separates log lines.- See Also:
-
PARTITION_MEDIUM
is a medium partition or separator which separates log lines.- See Also:
-
-
Constructor Details
-
LogUtil
Constructs a new instance with an instance.- Parameters:
instance- instance which want to log.
-
LogUtil
Constructs a new instance with an instance.- Parameters:
cls- class which want to log.
-
-
Method Details
-
logError
Logs throwable.- Parameters:
throwable- throwable
-
logError
Logs throwable.- Parameters:
throwable- throwablelocale- locale, may benullwhich is treated asLocale.getDefault().
-
logError
Logs throwable.- Parameters:
throwable- throwableadditionalMessage- additionalMessage, may benullif noadditionalMessageis needed. In the case onullno additional message is output.
-
logError
public void logError(@RequireNonnull Throwable throwable, @Nullable String additionalMessage, @Nullable Locale locale) Logs throwable.- Parameters:
throwable- throwableadditionalMessage- additionalMessage, may benullif noadditionalMessageis needed. In the case onullno additional message is output.locale- locale, may benullwhich is treated asLocale.getDefault().
-