public final class Message extends Object
Modifier and Type | Field and Description |
---|---|
static int |
MSG_DEBUG
Message priority of "debug".
|
static int |
MSG_ERR
Message priority of "error".
|
static int |
MSG_INFO
Message priority of "information".
|
static int |
MSG_VERBOSE
Message priority of "verbose".
|
static int |
MSG_WARN
Message priority of "warning".
|
Modifier and Type | Method and Description |
---|---|
static void |
debug(String msg) |
static void |
error(String msg) |
static MessageLogger |
getDefaultLogger()
Returns the current default logger.
|
static void |
info(String msg) |
static void |
log(int logLevel,
String msg) |
static void |
setDefaultLogger(MessageLogger logger)
Change the default logger used when no other logger is currently configured
|
static void |
verbose(String msg) |
static void |
warn(String msg) |
public static final int MSG_DEBUG
public static final int MSG_ERR
public static final int MSG_INFO
public static final int MSG_VERBOSE
public static final int MSG_WARN
public static void debug(String msg)
public static void error(String msg)
public static MessageLogger getDefaultLogger()
null
.public static void info(String msg)
public static void log(int logLevel, String msg)
public static void setDefaultLogger(MessageLogger logger)
logger
- the new default logger, must not be null
public static void verbose(String msg)
public static void warn(String msg)