Package | Description |
---|---|
net.ymate.platform.log | |
net.ymate.platform.log.impl | |
net.ymate.platform.log.jcl | |
net.ymate.platform.log.slf4j |
Modifier and Type | Class and Description |
---|---|
class |
AbstractLogAdapter |
class |
AbstractLogger
抽象日志记录器接口实现
|
Modifier and Type | Method and Description |
---|---|
ILogger |
ILogger.depth(int depth)
设置调用者深度
|
ILogger |
AbstractLogger.depth(int depth) |
ILogger |
ILog.getLogger()
获取默认日志记录器
|
ILogger |
Logs.getLogger() |
ILogger |
ILog.getLogger(Class<?> clazz)
获取指定类名称的日志记录器
|
ILogger |
Logs.getLogger(Class<?> clazz) |
ILogger |
ILog.getLogger(String loggerName)
获取指定名称的日志记录器
|
ILogger |
Logs.getLogger(String loggerName) |
ILogger |
AbstractLogAdapter.getLogger(String loggerName,
ILogConfig config) |
ILogger |
ILogger.getLogger(String loggerName,
ILogConfig config)
获取指定名称的日志记录器对象
|
ILogger |
AbstractLogAdapter.initialize(String loggerName,
ILogConfig config) |
ILogger |
ILogger.initialize(String loggerName,
ILogConfig config)
初始化日志记录器,并提供默认记录级别
|
Modifier and Type | Method and Description |
---|---|
Class<? extends ILogger> |
ILogConfig.getLoggerClass()
获取ILogger接口实现类类型
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultLogger
默认日志记录器(基于Log4J2实现)
|
Modifier and Type | Method and Description |
---|---|
ILogger |
DefaultLogger.getLogger(String loggerName,
ILogConfig config) |
ILogger |
DefaultLogger.initialize(String loggerName,
ILogConfig config) |
Modifier and Type | Method and Description |
---|---|
Class<? extends ILogger> |
DefaultLogConfig.getLoggerClass() |
Modifier and Type | Method and Description |
---|---|
DefaultLogConfig.Builder |
DefaultLogConfig.Builder.loggerClass(Class<? extends ILogger> loggerClass) |
void |
DefaultLogConfig.setLoggerClass(Class<? extends ILogger> loggerClass) |
Modifier and Type | Class and Description |
---|---|
class |
JCLogger |
Modifier and Type | Method and Description |
---|---|
ILogger |
JCLogger.initialize(String loggerName,
ILogConfig config) |
Modifier and Type | Class and Description |
---|---|
class |
LogLogger |
Copyright © 2022. All rights reserved.