@Ignored public interface ILog extends IDestroyable
Modifier and Type | Field and Description |
---|---|
static String |
LOG_OUT_DIR |
static String |
MODULE_NAME |
Modifier and Type | Method and Description |
---|---|
ILogConfig |
getConfig()
获取日志记录器配置
|
ILogger |
getLogger()
获取默认日志记录器
|
ILogger |
getLogger(Class<?> clazz)
获取指定类名称的日志记录器
|
ILogger |
getLogger(String loggerName)
获取指定名称的日志记录器
|
void |
initialize()
初始化
|
boolean |
isInitialized()
是否已初始化
|
close
static final String MODULE_NAME
static final String LOG_OUT_DIR
boolean isInitialized()
ILogConfig getConfig()
ILogger getLogger()
ILogger getLogger(String loggerName) throws Exception
loggerName
- 日志记录器名称Exception
- 可能产生的任何异常Copyright © 2022. All rights reserved.