Package | Description |
---|---|
net.ymate.platform.log | |
net.ymate.platform.log.impl |
Modifier and Type | Method and Description |
---|---|
LogLevel |
AbstractLogAdapter.getLevel() |
LogLevel |
ILogger.getLevel()
获取当前日志级别
|
LogLevel |
LogInfo.getLevel() |
static LogLevel |
LogLevel.parse(int level) |
static LogLevel |
LogLevel.parse(String levelName) |
static LogLevel |
LogLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogLevel[] |
LogLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractLogAdapter.buildEx(String info,
Throwable e,
LogLevel level) |
protected void |
AbstractLogger.buildEx(String info,
Throwable e,
LogLevel level) |
void |
AbstractLogAdapter.log(String info,
LogLevel level) |
void |
ILogger.log(String info,
LogLevel level)
输出日志
|
void |
AbstractLogAdapter.log(String info,
Throwable e,
LogLevel level) |
void |
ILogger.log(String info,
Throwable e,
LogLevel level)
输出日志
|
void |
AbstractLogAdapter.log(Throwable e,
LogLevel level) |
void |
ILogger.log(Throwable e,
LogLevel level)
输出日志
|
protected void |
AbstractLogAdapter.logWrite(LogLevel level,
LogInfo content) |
protected abstract void |
AbstractLogger.logWrite(LogLevel level,
LogInfo content)
日志写入方法, 需子类实现
|
static org.apache.logging.log4j.Level |
LogLevel.parse(LogLevel level) |
void |
LogInfo.setLevel(LogLevel level) |
Constructor and Description |
---|
LogInfo(String logName,
LogLevel level,
String hostName,
String threadName,
String threadId,
String callerInfo,
String logContent,
String stackInfo,
String createTime) |
Modifier and Type | Method and Description |
---|---|
LogLevel |
DefaultLogger.getLevel() |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultLogger.buildEx(String info,
Throwable e,
LogLevel level) |
void |
DefaultLogger.log(String info,
LogLevel level) |
void |
DefaultLogger.log(String info,
Throwable e,
LogLevel level) |
void |
DefaultLogger.log(Throwable e,
LogLevel level) |
protected void |
DefaultLogger.logWrite(LogLevel level,
LogInfo content) |
Copyright © 2022. All rights reserved.