On Thu, Jan 17, 2013 at 8:24 AM, Ivan Habunek <[email protected]> wrote: > On 17 January 2013 07:47, Florian Semm <[email protected]> wrote: >> The fingerprint and naming of all logging methods is quite different to the >> methods of log4php. It means much adjustments in the Logger class. Maybe a >> wrapper class, which implements the LoggerInterface, would be helpful.
+1 to wrapper. We surely want to keep our users happy with not chaning our interfaces. And a wrapper is not much overhead. > I think a wrapper is a more realistic approach since we already have > features not supported by Psr\Log\LoggerInterface. E.g. logging > exceptions and the TRACE level. On the other hand, since we will be > breaking backward compatibility with namespaces, it's not impossible > to implement the inteface fully, but frankly, it seems a little > limiting. What do you think? There will be a day we need to support namespaces. PHP is progressing and namespaces are part of it. Maybe we should put the non-namespace code to maintenance mode and start with namespacing in newer versions >> If log4php want be with the cool guys, this adjustments have be made. But >> this should be part of a release, which includes namesspaces. Btw: this guy >> had already add namespaces: https://github.com/ehutson/log4php ;) > > I agree, we want to be the cool kids. > >> Somebody should become a member of the fig voters board. > > Are you volunteering? :) What board? But yes we should be part of whatever. And +1 on our volunteer! :-) > So to recap, for v.3.0 we have to implement: PSR-0, PSR-1, PSR-2 and > PSR-3. No problem. :) Did you just say you don't want to make holidays this year? ;-) Cheers > > Regards, > Ivan -- http://www.grobmeier.de https://www.timeandbill.de
