public class Log extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static NulsLogger |
BASIC_LOGGER |
static String |
BASIC_NAME |
| 构造器和说明 |
|---|
Log() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
debug(String msg)
提供debug级别基本的日志输出
|
static void |
debug(String msg,
Object... objs) |
static void |
debug(String msg,
Throwable throwable)
提供debug级别基本的日志输出
|
static void |
error(String msg)
提供error级别基本的日志输出
|
static void |
error(String msg,
Object... objs) |
static void |
error(String msg,
Throwable throwable)
提供error级别基本的日志输出
|
static void |
error(Throwable throwable) |
static void |
info(String msg)
提供info级别基本的日志输出
|
static void |
info(String msg,
Object... objs) |
static void |
info(String msg,
Throwable throwable)
提供info级别基本的日志输出
|
static void |
trace(String msg)
提供trace级别基本的日志输出
|
static void |
trace(String msg,
Throwable throwable)
提供trace级别基本的日志输出
|
static void |
warn(String msg)
提供warn级别基本的日志输出
|
static void |
warn(String msg,
Object... objs) |
static void |
warn(String msg,
Throwable throwable)
提供warn级别基本的日志输出
|
public static NulsLogger BASIC_LOGGER
public static void debug(String msg)
msg - 需要显示的消息public static void debug(String msg, Throwable throwable)
msg - 需要显示的消息throwable - 异常信息public static void info(String msg)
msg - 需要显示的消息public static void info(String msg, Throwable throwable)
msg - 需要显示的消息throwable - 异常信息public static void warn(String msg)
msg - 需要显示的消息public static void warn(String msg, Throwable throwable)
msg - 需要显示的消息throwable - 异常信息public static void error(String msg)
msg - 需要显示的消息public static void error(String msg, Throwable throwable)
msg - 需要显示的消息throwable - 异常信息public static void error(Throwable throwable)
public static void trace(String msg)
msg - 需要显示的消息Copyright © 2021. All rights reserved.