Skip to content

Commit

Permalink
#606 Log statements are printed three times
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Polevoy committed May 31, 2017
1 parent 21abad2 commit 916ea64
Showing 1 changed file with 8 additions and 0 deletions.
Expand Up @@ -88,12 +88,16 @@ public static void log(Logger logger, LogLevel logLevel, String log){
switch (logLevel){
case DEBUG:
logger.debug(log);
break;
case INFO:
logger.info(log);
break;
case WARNING:
logger.warn(log);
break;
case ERROR:
logger.error(log);
break;
default:
}
}
Expand All @@ -108,12 +112,16 @@ public static void log(Logger logger, LogLevel logLevel, String log, Object para
switch (logLevel){
case DEBUG:
logger.debug(log, param);
break;
case INFO:
logger.info(log, param);
break;
case WARNING:
logger.warn(log, param);
break;
case ERROR:
logger.error(log, param);
break;
default:
}
}
Expand Down

0 comments on commit 916ea64

Please sign in to comment.