You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by Michael Gall <mi...@wakeless.net> on 2007/09/04 04:47:27 UTC
Fwd: AutoLogger: Static access to loggers
Hi Guys,
I've written a class that uses phpdocs and the Reflection methods to
automatically send logs to the logger. Not sure if you are interested in it
cause it uses php5 only features, but it's pretty cool. I'm attaching it
here.
Cheers,
Michael
--
--
http://wakeless.net
--
--
http://wakeless.net
Re: AutoLogger: Static access to loggers
Posted by Jim Jagielski <ji...@jaguNET.com>.
No, it's not final but a good initial cut.
On Sep 14, 2007, at 1:49 AM, Michael Gall wrote:
> No worries, I was more sending it to get some feedback on the code
> itself, it's not overly robust at this stage, and isn't really a
> final patch.
>
>
> On 9/14/07, Curt Arnold <ca...@apache.org> wrote:
> On Sep 13, 2007, at 9:11 PM, Michael Gall wrote:
>
> > I suppose it is.
> >
> > Cheers,
> >
> > Michael
> >
>
> FYI:
>
> The cleanest way to submit the code for possible inclusion is to
> create a bug report at http://issues.apache.org/jira/browse/LOG4PHP
> and then attach the files to the bug report (it is a two step
> process). When attaching the file, check that you are contributing
> the attachment to the ASF for potential inclusion. The source files
> should have license notices as described in http://www.apache.org/
> legal/src-headers.html.
>
> You should review the Individual Contributors License at http://
> www.apache.org/licenses/icla.txt. Your contribution should satisfy
> the conditions mentioned there (it was your original work, you have
> not assigned the rights, etc).
>
>
>
>
>
>
> --
> --
>
> http://wakeless.net
Re: AutoLogger: Static access to loggers
Posted by Michael Gall <mi...@wakeless.net>.
No worries, I was more sending it to get some feedback on the code itself,
it's not overly robust at this stage, and isn't really a final patch.
On 9/14/07, Curt Arnold <ca...@apache.org> wrote:
>
>
> On Sep 13, 2007, at 9:11 PM, Michael Gall wrote:
>
> > I suppose it is.
> >
> > Cheers,
> >
> > Michael
> >
>
> FYI:
>
> The cleanest way to submit the code for possible inclusion is to
> create a bug report at http://issues.apache.org/jira/browse/LOG4PHP
> and then attach the files to the bug report (it is a two step
> process). When attaching the file, check that you are contributing
> the attachment to the ASF for potential inclusion. The source files
> should have license notices as described in http://www.apache.org/
> legal/src-headers.html.
>
> You should review the Individual Contributors License at http://
> www.apache.org/licenses/icla.txt. Your contribution should satisfy
> the conditions mentioned there (it was your original work, you have
> not assigned the rights, etc).
>
>
>
>
--
--
http://wakeless.net
Re: AutoLogger: Static access to loggers
Posted by Curt Arnold <ca...@apache.org>.
On Sep 13, 2007, at 9:11 PM, Michael Gall wrote:
> I suppose it is.
>
> Cheers,
>
> Michael
>
FYI:
The cleanest way to submit the code for possible inclusion is to
create a bug report at http://issues.apache.org/jira/browse/LOG4PHP
and then attach the files to the bug report (it is a two step
process). When attaching the file, check that you are contributing
the attachment to the ASF for potential inclusion. The source files
should have license notices as described in http://www.apache.org/
legal/src-headers.html.
You should review the Individual Contributors License at http://
www.apache.org/licenses/icla.txt. Your contribution should satisfy
the conditions mentioned there (it was your original work, you have
not assigned the rights, etc).
Re: AutoLogger: Static access to loggers
Posted by Michael Gall <mi...@wakeless.net>.
I suppose it is.
Cheers,
Michael
On 9/14/07, Jim Jagielski <ji...@jagunet.com> wrote:
>
> Cool... Thanks for the code. We'll take a look. Is this
> something you're donating to the ASF if we think it's
> a valuable addition?
>
> On Sep 3, 2007, at 10:47 PM, Michael Gall wrote:
>
> >
> > Hi Guys,
> >
> > I've written a class that uses phpdocs and the Reflection methods
> > to automatically send logs to the logger. Not sure if you are
> > interested in it cause it uses php5 only features, but it's pretty
> > cool. I'm attaching it here.
> >
> >
> > Cheers,
> >
> > Michael
> >
> > --
> > --
> >
> > http://wakeless.net
> >
> >
> > --
> > --
> >
> > http://wakeless.net
> > <AutoLogger.php>
>
>
--
--
http://wakeless.net
Re: AutoLogger: Static access to loggers
Posted by Jim Jagielski <ji...@jaguNET.com>.
Cool... Thanks for the code. We'll take a look. Is this
something you're donating to the ASF if we think it's
a valuable addition?
On Sep 3, 2007, at 10:47 PM, Michael Gall wrote:
>
> Hi Guys,
>
> I've written a class that uses phpdocs and the Reflection methods
> to automatically send logs to the logger. Not sure if you are
> interested in it cause it uses php5 only features, but it's pretty
> cool. I'm attaching it here.
>
>
> Cheers,
>
> Michael
>
> --
> --
>
> http://wakeless.net
>
>
> --
> --
>
> http://wakeless.net
> <AutoLogger.php>