-
- All Implemented Interfaces and Traits:
- Cloneable, Serializable
class Logger
The Logger class provides a number of static methods that are used internally,
within other processes, that cause the recording of timing
data pertaining to the input and output communications associated with that process.
Processes can be optionally logged simply by specifying a string property logPhaseName and the
associated name of a property within the object being processed that uniquely identifies the object instance.
The log data is output as part of a Collect process. It can either be printed direct to the console,
showing elapsed timings.
If a logFileName property is specified then the log data will be written to a file as text values,
simply as the content of each tagged log message, space separated, each on a separate line.
Time values are output as the long representation of system millisecond time
-
-
Constructor Summary
Constructors
Constructor and description |
Logger
()
|
-
Methods Summary
-
Inherited Methods Summary
-
-
Method Detail
-
static List endEvent(long time)
-
static void produceLog(List log, String logFileName)
-
static List workEndEvent(long time)
-
static List workStartEvent(long time)
GPP - Groovy Parallel Patterns generated 06112016 by Jon Kerridge, Edinburgh Napier University - j.kerridge@napier.ac.uk