- All Implemented Interfaces:
- Runnable
public class LogTask
extends AbstractTask
This class is for logging or write to an external file some info:
- if delay is 0, no echo at all will be done
- if delay is 1, will echo some information in the normal log
- if delay is 2, will echo some information in the file (last deduced
argument will be the full path for
the file output)
- if delay is 3, will echo both in the normal log and in the file (last
deduced argument will be the full
path for the file output)
If first word for logging is one of debug, info, warn, error, then the
corresponding level of log will be
used.