ErrorLog - output error messages

The ErrorLog class is used to report layered errors, either by displaying error messages to stderr, or by redirecting them to logfiles. On UNIX systems, error messages can also be directed to the syslog daemon.