Skip to content

Commit

Permalink
add slf4j
Browse files Browse the repository at this point in the history
  • Loading branch information
aruis committed Feb 4, 2019
1 parent f10b0b0 commit 7779327
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/com/aruistar/vertxstarter/MainVerticle.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@
import io.vertx.core.Future;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.slf4j.bridge.SLF4JBridgeHandler;

public class MainVerticle extends AbstractVerticle {

static {
SLF4JBridgeHandler.removeHandlersForRootLogger();
SLF4JBridgeHandler.install();
}

private static Logger logger = LoggerFactory.getLogger(MainVerticle.class);

@Override
Expand Down

0 comments on commit 7779327

Please sign in to comment.