Package org.codehaus.groovy.ant
Class LoggingHelper
java.lang.Object
org.codehaus.groovy.ant.LoggingHelper
Helper to make logging from Ant easier.
-
Constructor Summary
ConstructorsConstructorDescriptionLoggingHelper(org.apache.tools.ant.Task owner) Creates a logging helper for the supplied Ant task. -
Method Summary
Modifier and TypeMethodDescriptionvoidLogs a debug message.voidLogs an error message.voidLogs an error message together with its cause.voidLogs an informational message.voidLogs a verbose diagnostic message.voidLogs a warning message.
-
Constructor Details
-
LoggingHelper
public LoggingHelper(org.apache.tools.ant.Task owner) Creates a logging helper for the supplied Ant task.- Parameters:
owner- the task that should receive log messages
-
-
Method Details
-
error
Logs an error message.- Parameters:
msg- the message to log
-
error
Logs an error message together with its cause.- Parameters:
msg- the message to logt- the associated failure
-
warn
Logs a warning message.- Parameters:
msg- the message to log
-
info
Logs an informational message.- Parameters:
msg- the message to log
-
verbose
Logs a verbose diagnostic message.- Parameters:
msg- the message to log
-
debug
Logs a debug message.- Parameters:
msg- the message to log
-