Hi all,

On Wed, Jan 28, 2015 at 3:09 AM, Yasuo Ohgaki <yohg...@ohgaki.net> wrote:

> On Tue, Jan 27, 2015 at 9:26 PM, Xinchen Hui <larue...@php.net> wrote:
>
>> if you want custom logs, maybe you should use custom logger.
>
>
> It requires to catch all errors, I suppose. If PHP allows it, either would
> work.


I considered a little more. With error handler that catches E_ERROR cannot
be
complex handler as complex handler may use various resources that  may
cause
all kinds of errors. Therefore, complex custom error handler logger may
miss to
log important errors.

Best practice would be separating app log and system(PHP) error log.

Regards,

--
Yasuo Ohgaki
yohg...@ohgaki.net

Reply via email to