- All Implemented Interfaces:
- Log
public class SimpleSLF4JLog
extends Object
implements Log
SimpleSLF4JLog use SLF4J Logger, to use it, need put a file
“jlogs.properties” in main/resources or test/resources folder with below
line:
log=com.github.drinkjava2.jlogs.SLF4JLog
And of cause, related SLF4J dependencies or logback-classic dependency which
depends on SLF4J need added in pom.xml
Note: this SimpleSLF4JLog is based on method reflection, not recommended to
use in envirements which effectiveness is critical, for that a non-reflection
logger needed, please see the example SLF4JLog.java in jsqlbox-jbooox project
- Since:
- 2.0.5
- Author:
- Yong Zhu