public class Slf4jLogFactory extends LogFactory
name
Constructor and Description |
---|
Slf4jLogFactory() |
Slf4jLogFactory(boolean failIfNOP)
构造
|
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 Slf4jLogFactory()
public Slf4jLogFactory(boolean failIfNOP)
failIfNOP
- 如果未找到桥接包是否报错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.