Skip to content

Commit

Permalink
Release 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pron committed Oct 14, 2013
1 parent 884af8c commit 72bd220
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -43,7 +43,7 @@ dependencies {
compile "org.springframework:spring-context:3.2.4.RELEASE"
compile "com.codahale.metrics:metrics-core:3.0.1"
compile "io.netty:netty:3.7.0.Final"
compile "org.jgroups:jgroups:3.1.0.Beta"
compile "org.jgroups:jgroups:3.4.0.Beta1"
compile "com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4"
compile "com.sleepycat:je:5.0.73"
compile "co.parallelunivese:high-scale-lib:" // non-Maven
Expand Down
Expand Up @@ -29,7 +29,6 @@
* @author pron
*/
public class SLF4JLogFactory implements CustomLogFactory {

@Override
public Log getLog(Class clazz) {
return new SLF4JLog(LoggerFactory.getLogger(clazz));
Expand All @@ -41,7 +40,6 @@ public Log getLog(String category) {
}

static class SLF4JLog implements Log {

private final Logger logger;

public SLF4JLog(Logger logger) {
Expand Down Expand Up @@ -88,6 +86,11 @@ public void fatal(String msg, Throwable throwable) {
logger.error(msg, throwable);
}

@Override
public void fatal(String msg, Object... args) {
logger.error(msg, args);
}

@Override
public void error(String msg) {
logger.error(msg);
Expand All @@ -98,6 +101,11 @@ public void error(String msg, Throwable throwable) {
logger.error(msg, throwable);
}

@Override
public void error(String format, Object... args) {
logger.error(format, args);
}

@Override
public void warn(String msg) {
logger.warn(msg);
Expand All @@ -108,11 +116,21 @@ public void warn(String msg, Throwable throwable) {
logger.warn(msg, throwable);
}

@Override
public void warn(String msg, Object... args) {
logger.warn(msg, args);
}

@Override
public void info(String msg) {
logger.info(msg);
}

@Override
public void info(String msg, Object... args) {
logger.info(msg, args);
}

@Override
public void debug(String msg) {
logger.debug(msg);
Expand All @@ -123,6 +141,11 @@ public void debug(String msg, Throwable throwable) {
logger.debug(msg, throwable);
}

@Override
public void debug(String msg, Object... args) {
logger.debug(msg, args);
}

@Override
public void trace(Object msg) {
logger.trace(msg.toString());
Expand All @@ -138,6 +161,11 @@ public void trace(String msg, Throwable throwable) {
logger.trace(msg, throwable);
}

@Override
public void trace(String msg, Object... args) {
logger.trace(msg, args);
}

@Override
public void setLevel(String level) {
}
Expand Down

0 comments on commit 72bd220

Please sign in to comment.