slf4j

http://yangzb.iteye.com/blog/245844

http://www.oschina.net/question/12_5019

slf4j+logback

pom.xml maven导入

<!-- logging related -->
<dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-api</artifactId>
    <version>${slf4j-version}</version>
</dependency>

<!-- logback -->
<dependency>
    <groupId>ch.qos.logback</groupId>
    <artifactId>logback-core</artifactId>
    <version>${logback-version}</version>
</dependency>
<dependency>
    <groupId>ch.qos.logback</groupId>
    <artifactId>logback-classic</artifactId>
    <version>${logback-version}</version>
</dependency>
<dependency>
    <groupId>ch.qos.logback</groupId>
    <artifactId>logback-access</artifactId>
    <version>${logback-version}</version>
</dependency>

 

posted on 2015-10-28 14:13  Cuddles  阅读(291)  评论(0编辑  收藏  举报

导航