| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractLogger
A skeletal implementation of
Logger. |
class |
NoLogger
dumpy
AbstractLogger implementation. |
class |
Slf4jLogger
SLF4J logger.
|
class |
StdOutLogger
Logger implementaion by
System.out and System.error. |
| 限定符和类型 | 方法和说明 |
|---|---|
static Logger |
LoggerFactory.getLogger(Class<?> clazz)
Creates a new logger instance with the name of the specified class.
|
static Logger |
LoggerFactory.getLogger(String name)
Creates a new logger instance with the specified name.
|
protected abstract Logger |
LoggerFactory.newInstance(String name)
Creates a new logger instance with the specified name.
|
protected Logger |
StdOutLoggerFactory.newInstance(String name) |
Logger |
Slf4jLoggerFactory.newInstance(String name) |
Logger |
Log4J2LoggerFactory.newInstance(String name) |
protected Logger |
NoLoggerFactory.newInstance(String name) |
Copyright © 2021. All rights reserved.