Util::Log (version $)

This object handles a log of everything which happens in a processing script. The log is in a convenient HTML format and includes an index to major processing steps and to processing errors. The much simpler Util::NoLog class will output to stdout and stderr, for times when a log object has not yet been created. The error, entry, milestone, and text (but not yet file) methods now call XML::Dumper::quote_xml_chars, which was already called by writeEvent, to quote the four HTML-special characters &, <, >, and ", in their input message or text, to avoid interfering with the real HTML tags. (A useful extension might be to include a flag argument to indicate that the message is HTML, so that eg. colors can be used.) Note that the constructor creates new log files, so only one Log object should be used throughout a given processing script.


Constructor

Accessors

Methods

Special Methods