From: Roland Haeder Date: Tue, 29 Sep 2015 12:58:09 +0000 (+0200) Subject: Exposed logError() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=88ca8c77c4fa94117561c29d730a0c0fd3de7029;p=jcore-logger-lib.git Exposed logError() Signed-off-by:Roland Häder --- diff --git a/src/org/mxchange/jcoreeelogger/beans/local/logger/LoggerBeanLocal.java b/src/org/mxchange/jcoreeelogger/beans/local/logger/LoggerBeanLocal.java index 9a77a04..7b1b246 100644 --- a/src/org/mxchange/jcoreeelogger/beans/local/logger/LoggerBeanLocal.java +++ b/src/org/mxchange/jcoreeelogger/beans/local/logger/LoggerBeanLocal.java @@ -63,6 +63,21 @@ public interface LoggerBeanLocal { */ public void logFatal (final String message, final Throwable cause); + /** + * Log a error message + *

+ * @param message Message to log + */ + public void logError (final String message); + + /** + * Log a error message and cause + *

+ * @param message Message to log + * @param cause Causing exception + */ + public void logError (final String message, final Throwable cause); + /** * Log a info message *