Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreampie committed Dec 5, 2014
1 parent adf4279 commit 0edd2d9
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
jfinal-slf4j
============

jfinal slf4j log api
jfinal slf4j log api,查看其他插件-> [Maven](http://search.maven.org/#search%7Cga%7C1%7Ccn.dreampie)

maven 引用 ${jfinal-slf4j.version}替换为相应的版本如:0.1

```xml
<dependency>
<groupId>cn.dreampie</groupId>
<artifactId>jfinal-slf4j</artifactId>
<version>${jfinal-slf4j.version}</version>
</dependency>
```

```java
public void configConstant(Constants constants) {
//set log to slf4j
Logger.setLoggerFactory(new Slf4jLogFactory());
}

```

0 comments on commit 0edd2d9

Please sign in to comment.