Re: Logging in PHP
| From: | Joeri Thissen | Date: | Fri, 20 Dec 2013 16:00:22 +0000 |
| Subject: | Re: Logging in PHP | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-322583@lists.php.net to get a copy of this message | ||
I'd personally recommend using monolog: https://github.com/Seldaek/monolog
It's pretty flexible and easy to use.
Regards,
Joeri Thissen
On 20 December 2013 16:54, Andrew Ballard <aballard@gmail.com> wrote:
> I don't have examples since we're still working with ZF1, but if you're
> using ZF2, I'd create a logger using the event manager.
>
> Andrew
>
>
> On Fri, Dec 20, 2013 at 9:20 AM, Dan Joseph <dmjoseph@gmail.com> wrote:
>
> > Howdy Folks,
> >
> > I was wondering if any of you had suggestions for logging with PHP? I'm
> > talking about things other than error_log().
> >
> > I'm also using ZF2, which does have a logger class, but it seems more
> > manual entries than just automated logging of sorts.
> >
> > Any ideas I can look at?
> >
> > --
> > -Dan Joseph
> >
> > http://www.danjoseph.me
> > http://www.dansrollingbbq.com
> > http://www.youtube.com/DansRollingBBQ
> >
>