public class LoggingHelper
extends Object
Helper to make logging from Ant easier.
| Constructor and description |
|---|
LoggingHelper(Task owner)Creates a logging helper for the supplied Ant task. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
debug(String msg)Logs a debug message. |
|
public void |
error(String msg)Logs an error message. |
|
public void |
error(String msg, Throwable t)Logs an error message together with its cause. |
|
public void |
info(String msg)Logs an informational message. |
|
public void |
verbose(String msg)Logs a verbose diagnostic message. |
|
public void |
warn(String msg)Logs a warning message. |
Creates a logging helper for the supplied Ant task.
owner - the task that should receive log messagesLogs a debug message.
msg - the message to logLogs an error message.
msg - the message to logLogs an error message together with its cause.
msg - the message to logt - the associated failureLogs an informational message.
msg - the message to logLogs a verbose diagnostic message.
msg - the message to logLogs a warning message.
msg - the message to logCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.