You should really be using monolog.

PHP_Logo

A brief introduction and overview of the PHP logging framework monolog.

Will VaughnYou should really be using monolog.