public class LogKit extends Object
| 构造器和说明 |
|---|
LogKit() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
debug(String message) |
static void |
debug(String message,
Throwable t) |
static void |
error(String message) |
static void |
error(String message,
Throwable t) |
static void |
fatal(String message) |
static void |
fatal(String message,
Throwable t) |
static void |
info(String message) |
static void |
info(String message,
Throwable t) |
static boolean |
isDebugEnabled() |
static boolean |
isErrorEnabled() |
static boolean |
isFatalEnabled() |
static boolean |
isInfoEnabled() |
static boolean |
isWarnEnabled() |
static void |
logNothing(Throwable t)
Do nothing.
|
static void |
synchronizeLog()
当通过 Constants.setLogFactory(...)
|
static void |
warn(String message) |
static void |
warn(String message,
Throwable t) |
public static void synchronizeLog()
public static void logNothing(Throwable t)
public static void debug(String message)
public static void info(String message)
public static void warn(String message)
public static void error(String message)
public static void fatal(String message)
public static boolean isDebugEnabled()
public static boolean isInfoEnabled()
public static boolean isWarnEnabled()
public static boolean isErrorEnabled()
public static boolean isFatalEnabled()
Copyright © 2022. All rights reserved.