Log watcher is a PHP class that polls log files and takes newly added lines to send them to a given watcher email address. Although this class can be used to poll any type of log files, it was developed with the intention to overcome a limitation of the PHP error trapping system that is not able to capture certain types of errors during script execution, like script parsing errors or form file uploading failures. It is meant to be used from cron-like task schedulers to poll log files regularly. The email notification message can be composed from text templates. The message delivery function can be replaced by custom functions like the urgent mail function that can be faster for delivering critical messages.