public class GlobalLogUtil extends Object
| 构造器和说明 |
|---|
GlobalLogUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
debug(Object msg) |
static void |
debug(Object msg,
Object o) |
static void |
debug(Object msg,
Object[] obj) |
static void |
debug(Object msg,
Object o1,
Object o2) |
static void |
error(Object msg) |
static void |
error(Object msg,
Object o) |
static void |
error(Object msg,
Object[] obj) |
static void |
error(Object msg,
Object o1,
Object o2) |
static void |
error(Object msg,
Throwable ex) |
static String |
getExceptionDetailsToStr(Exception e) |
static org.slf4j.Logger |
getLogger()
初始化日志
|
static String |
getMsg(Object msg) |
static String |
getMsg(Object msg,
Throwable ex) |
static void |
info(Object msg) |
static void |
info(Object msg,
Object o1) |
static void |
info(Object msg,
Object[] obj) |
static void |
info(Object msg,
Object o1,
Object o2) |
static String |
toString(Throwable e) |
static void |
warn(Object msg) |
static void |
warn(Object msg,
Object o) |
static void |
warn(Object msg,
Object[] obj) |
static void |
warn(Object msg,
Object o1,
Object o2) |
static void |
writeLog(Object msg,
String level) |
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.