Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63779 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77393 invoked from network); 8 Nov 2012 13:20:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Nov 2012 13:20:08 -0000 Authentication-Results: pb1.pair.com header.from=ircmaxell@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ircmaxell@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.170 as permitted sender) X-PHP-List-Original-Sender: ircmaxell@gmail.com X-Host-Fingerprint: 209.85.212.170 mail-wi0-f170.google.com Received: from [209.85.212.170] ([209.85.212.170:34489] helo=mail-wi0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AB/11-04518-681BB905 for ; Thu, 08 Nov 2012 08:20:07 -0500 Received: by mail-wi0-f170.google.com with SMTP id hm9so1462352wib.5 for ; Thu, 08 Nov 2012 05:20:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UBXH58gCXdRTvESbVW9Pxd+73cibk6lqL6EOyS4iX/U=; b=O5JF9Ymb39EhJJ+H7pPNkRUmGM7K73IDxF4uQuE0Px8HZl1Mkf+1fhfDSBaUOH4s51 UHZSgppSjTOW+nnucYYiaX/496Ma8wGkDJBymAdsfK3QvkVTXxGfXctUVv6DJAa/X/FG qedX22cD7/PI3DeyfNziTcN//0VT6y6N0Dz73pbwAwTnXHGGI5VqucChePfZ/thd5kUu jh3wLpQzooHiziwf4vxPmteQYQ1t9BzJXX/tyEaF1ndaXiDkYTg0lFRurKPv9bmGYI+I IO0ISxUW/qgKLoD9aHOtrd18jpWnBKszTJylitYH9U1ifS7IrArgT8MLnLrD04wnmo60 bDqA== MIME-Version: 1.0 Received: by 10.180.90.78 with SMTP id bu14mr13249599wib.21.1352380803755; Thu, 08 Nov 2012 05:20:03 -0800 (PST) Received: by 10.194.17.1 with HTTP; Thu, 8 Nov 2012 05:20:03 -0800 (PST) In-Reply-To: References: Date: Thu, 8 Nov 2012 08:20:03 -0500 Message-ID: To: Florin Razvan Patan Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=f46d043c093868adbf04cdfbb1b0 Subject: Re: [PHP-DEV] [RFC] Implement a LoggerInterface to PHP From: ircmaxell@gmail.com (Anthony Ferrara) --f46d043c093868adbf04cdfbb1b0 Content-Type: text/plain; charset=ISO-8859-1 Florin, On Thu, Nov 8, 2012 at 6:42 AM, Florin Razvan Patan wrote: > Hello, > > > After a talk on the Symfony framework here: > https://github.com/symfony/symfony/issues/5911 > Long story short, the point that @Seldaek suggestion to have a common > interface for loggers > actually makes sense and the best way to have it would be to have PHP > include it by default. > > I'm not sure exactly what amount of work this implies, nor my C skills > are existent, but with > PHP having such an interface available it would help standardize > things in the PHP world. > > Also, I'm not sure if this could be backported into existing PHP 5.3 > or PHP 5.4 versions > but this would make sense to consider it for PHP 5.5. > > What do you guys think? Could this be considered to be included in PHP? > > Thank you for your time. > > > > > Best regards, > Florin > Pedantically speaking, isn't this the exact goal of the FIG/PSR group? That they define these common parts? Is there an advantage to having it in C (performance, etc)? If so, there may be something to discuss. But if it's just to enforce a common paradigm, I'd say leave that to the community to do. They are in a better position and can change their mind if they need to. Something that core is reasonably positioned to not do... Anthony --f46d043c093868adbf04cdfbb1b0--