Add generic logger

A project needed a quick way to setup an error_log wrapper that could
be configured independently of the system php.ini. This class wraps the
error_log function with a configurable buffer that supports multiple
message types.