org.apache.ivy.util
public final class Message extends Object
This class provides static methods for easy access to the current logger in IvyContext.
To configure logging, you should use the methods provided by the MessageLoggerEngine associated with the Ivy engine.
Field Summary | |
---|---|
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". |
Method Summary | |
---|---|
static void | debug(String msg) |
static void | deprecated(String msg) |
static void | endProgress() |
static void | endProgress(String msg) |
static void | error(String msg) |
static MessageLogger | getDefaultLogger()
Returns the current default logger. |
static List | getProblems() |
static void | info(String msg) |
static boolean | isShowProgress() |
static void | progress() |
static void | rawinfo(String msg) |
static void | setDefaultLogger(MessageLogger logger)
Change the default logger used when no other logger is currently configured |
static void | setShowProgress(boolean progress) |
static void | showInfo() |
static void | sumupProblems() |
static void | verbose(String msg) |
static void | warn(String msg) |
Returns: the current default logger; is never null
.
Parameters: logger the new default logger, must not be null