org.apache.ivy.plugins.trigger
public class LogTrigger extends AbstractTrigger
The implementation is widely inspired by Ant Echo task.
| Method Summary | |
|---|---|
| protected void | log(String message)
Logs the given message.
|
| void | progress(IvyEvent event) |
| void | setAppend(boolean append)
If true, append to existing file. |
| void | setEncoding(String encoding)
Declare the encoding to use when outputting to a file;
Use "" for the platform's default encoding. |
| void | setFile(File file)
File to write to. |
| void | setMessage(String msg)
Message to write.
|
Parameters: message the message to log
Parameters: append if true, append to existing file, default is false.
Parameters: encoding the character encoding to use.
Parameters: file the file to write to, if not set, echo to standard Ivy logging
Parameters: msg Sets the value for the message variable.