|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ivy.util.Message
public final class Message
Logging utility class.
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(java.lang.String msg)
|
static void |
deprecated(java.lang.String msg)
|
static void |
endProgress()
|
static void |
endProgress(java.lang.String msg)
|
static void |
error(java.lang.String msg)
|
static MessageLogger |
getDefaultLogger()
Returns the current default logger. |
static java.util.List |
getProblems()
|
static void |
info(java.lang.String msg)
|
static boolean |
isShowProgress()
|
static void |
progress()
|
static void |
rawinfo(java.lang.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(java.lang.String msg)
|
static void |
warn(java.lang.String msg)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MSG_ERR
public static final int MSG_WARN
public static final int MSG_INFO
public static final int MSG_VERBOSE
public static final int MSG_DEBUG
Method Detail |
---|
public static MessageLogger getDefaultLogger()
null
.public static void setDefaultLogger(MessageLogger logger)
logger
- the new default logger, must not be null
public static void showInfo()
public static void debug(java.lang.String msg)
public static void verbose(java.lang.String msg)
public static void info(java.lang.String msg)
public static void rawinfo(java.lang.String msg)
public static void deprecated(java.lang.String msg)
public static void warn(java.lang.String msg)
public static void error(java.lang.String msg)
public static java.util.List getProblems()
public static void sumupProblems()
public static void progress()
public static void endProgress()
public static void endProgress(java.lang.String msg)
public static boolean isShowProgress()
public static void setShowProgress(boolean progress)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |