-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dreampie
committed
Dec 5, 2014
1 parent
adf4279
commit 0edd2d9
Showing
1 changed file
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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()); | ||
} | ||
|
||
``` |