Class DefaultMessageLogger
java.lang.Object
org.apache.ivy.util.AbstractMessageLogger
org.apache.ivy.util.DefaultMessageLogger
- All Implemented Interfaces:
MessageLogger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoEndProgress(String msg) Indicates the end of a long running taskvoidIndicates a progression for a long running taskintgetLevel()voidLogs a message at the given level.voidSame asMessageLogger.log(String, int), but without adding any contextual information to the message.Methods inherited from class AbstractMessageLogger
clearProblems, debug, deprecated, endProgress, endProgress, error, getErrors, getProblems, getWarns, info, isShowProgress, progress, rawinfo, setShowProgress, sumupProblems, verbose, warn
-
Constructor Details
-
DefaultMessageLogger
public DefaultMessageLogger(int level) - Parameters:
level- ditto
-
-
Method Details
-
log
Description copied from interface:MessageLoggerLogs a message at the given level.levelconstants are defined in theMessageclass.- Parameters:
msg- the message to loglevel- the level at which the message should be logged.- See Also:
-
rawlog
Description copied from interface:MessageLoggerSame asMessageLogger.log(String, int), but without adding any contextual information to the message.- Parameters:
msg- the message to loglevel- the level at which the message should be logged.
-
doProgress
public void doProgress()Description copied from class:AbstractMessageLoggerIndicates a progression for a long running task- Specified by:
doProgressin classAbstractMessageLogger
-
doEndProgress
Description copied from class:AbstractMessageLoggerIndicates the end of a long running task- Specified by:
doEndProgressin classAbstractMessageLogger- Parameters:
msg- the message associated with long running task end.
-
getLevel
public int getLevel()
-