Package | Description |
---|---|
com.forte.qqrobot |
主要是core所需要的包
|
com.forte.qqrobot.log |
Modifier and Type | Method and Description |
---|---|
LogLevel |
BaseConfiguration.getLogLevel() |
Modifier and Type | Method and Description |
---|---|
void |
BaseConfiguration.setLogLevel(LogLevel logLevel) |
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
static boolean |
QQLog.ifCan(LogLevel logLevel)
判定日志级别是否可以输出
|
void |
QQLogLang.log(Object msg,
LogLevel level,
PrintStream logStream,
Object... format)
日志输出
|
static void |
QQLog.log(Object msg,
LogLevel level,
PrintStream logStream,
Object... format)
日志输出
|
void |
QQLogLang.log(Object msg,
LogLevel level,
PrintStream logStream,
Throwable e,
Object... formatArgs)
日志输出
|
static void |
QQLog.log(Object msg,
LogLevel level,
PrintStream logStream,
Throwable e,
Object... formatArgs)
日志输出
|
default boolean |
QQLogBack.onLog(String msg,
LogLevel logLevel)
没有异常的拦截,默认直接使用null
|
boolean |
QQLogBack.onLog(String msg,
LogLevel level,
Throwable e)
拦截QQLog日志的输出,当返回值为true的时候才会输出到控制台。
|
static void |
QQLog.setGlobalLevel(LogLevel globalLevel) |
Copyright © 2020. All rights reserved.