* @author Roland Haeder<roland@mxchange.org>
*/
@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 {
/**
}
@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
/**
* Getter for logger
+ *
* @return Logger
*/
private Logger getLogger () {