From: Roland Haeder Date: Thu, 24 Sep 2015 13:10:13 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8364f336e692b4ad4fbb0db227e90be159fc7835;p=jcore-logger-ejb.git Continued: - auto-reformatted many files - updated jar Signed-off-by:Roland Häder --- diff --git a/lib/jcore-logger-lib.jar b/lib/jcore-logger-lib.jar index ca19891..ccc4dab 100644 Binary files a/lib/jcore-logger-lib.jar and b/lib/jcore-logger-lib.jar differ diff --git a/src/java/org/mxchange/jcoreeelogger/beans/local/logger/LoggerBean.java b/src/java/org/mxchange/jcoreeelogger/beans/local/logger/LoggerBean.java index 9e87cae..6b63977 100644 --- a/src/java/org/mxchange/jcoreeelogger/beans/local/logger/LoggerBean.java +++ b/src/java/org/mxchange/jcoreeelogger/beans/local/logger/LoggerBean.java @@ -27,7 +27,7 @@ import org.apache.logging.log4j.Logger; * @author Roland Haeder */ @Startup -@Singleton(name = "logger", mappedName = "ejb/logger", description = "A centralized logger bean") +@Singleton (name = "logger", mappedName = "ejb/logger", description = "A centralized logger bean") public class LoggerBean implements LoggerBeanLocal { /** @@ -68,15 +68,15 @@ public class LoggerBean implements LoggerBeanLocal { } @Override - public void logInfo (final String message) { + public void logFatal (final String message) { // Deligate to logger - this.getLogger().info(message); + this.getLogger().fatal(message); } @Override - public void logFatal (final String message) { + public void logInfo (final String message) { // Deligate to logger - this.getLogger().fatal(message); + this.getLogger().info(message); } @Override @@ -111,6 +111,7 @@ public class LoggerBean implements LoggerBeanLocal { /** * Getter for logger + * * @return Logger */ private Logger getLogger () {