Class Log4j2LogFactory
java.lang.Object
com.aizuda.snailjob.common.log.factory.LogFactory
com.aizuda.snailjob.common.log.dialect.log4j2.Log4j2LogFactory
Apache Log4J 2 log.
- Author:
- wodeyangzipingpingwuqi
-
Field Summary
Fields inherited from class com.aizuda.snailjob.common.log.factory.LogFactory
name -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.aizuda.snailjob.common.log.factory.LogFactory
checkLogExist, create, extractThrowable, get, get, get, getCurrentLogFactory, getLog, getLog, getName, setCurrentLogFactory, setCurrentLogFactory
-
Constructor Details
-
Log4j2LogFactory
public Log4j2LogFactory()
-
-
Method Details
-
createLog
Description copied from class:LogFactory创建日志对象- Specified by:
createLogin classLogFactory- Parameters:
name- 日志对象名- Returns:
- 日志对象
-
createLog
Description copied from class:LogFactory创建日志对象- Specified by:
createLogin classLogFactory- Parameters:
clazz- 日志对应类- Returns:
- 日志对象
-