public class Log4jLogFactory extends LogFactory
name
Constructor and Description |
---|
Log4jLogFactory() |
Modifier and Type | Method and Description |
---|---|
Log |
createLog(Class<?> clazz)
创建日志对象
|
Log |
createLog(String name)
创建日志对象
|
checkLogExist, create, get, get, get, getCurrentLogFactory, getLog, getLog, getName, setCurrentLogFactory, setCurrentLogFactory
public Log createLog(String name)
LogFactory
createLog
in class LogFactory
name
- 日志对象名public Log createLog(Class<?> clazz)
LogFactory
createLog
in class LogFactory
clazz
- 日志对应类Copyright © 2024. All rights reserved.