Log overview
Based on the open source log framework Log4J 2 implementation, it provides unified management of logger objects. Any logger can be called at any location to output logs, realizing the separation of system and business logs; cooperates with YMP configuration system module Use, the effect will be better:)
The log framework also provides two sub-projects with extended support:
- log-jcl: used to integrate the apache-commons-logging log framework ;
- log-slf4j: Provide support for the slf4j log system;
Maven package dependency
Log dependency configuration
<dependency> <groupId>net.ymate.platform</groupId> <artifactId>ymate-platform-log</artifactId> <version>2.0-SNAPSHOT</version> </dependency>
- ##log-jcl dependency configuration
<dependency> <groupId>net.ymate.platform</groupId> <artifactId>ymate-platform-log-jcl</artifactId> <version>2.0-SNAPSHOT</version> </dependency>
- log-slf4j dependency configuration
<dependency> <groupId>net.ymate.platform</groupId> <artifactId>ymate-platform-log-slf4j</artifactId> <version>2.0-SNAPSHOT</version> </dependency>
##Note: Please add the corresponding configuration in the project's pom.xml according to the actual situation of your project. This module has introduced core package dependencies by default, and there is no need to repeat the configuration.