Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63792 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52952 invoked from network); 9 Nov 2012 11:39:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Nov 2012 11:39:01 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.223.170 mail-ie0-f170.google.com Received: from [209.85.223.170] ([209.85.223.170:41715] helo=mail-ie0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8A/80-47016-15BEC905 for ; Fri, 09 Nov 2012 06:38:58 -0500 Received: by mail-ie0-f170.google.com with SMTP id c12so6533113ieb.29 for ; Fri, 09 Nov 2012 03:38:55 -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=dNWCsjYCkNkIUD32ePGRbyKLLVt8lB2bs80ScYRF75k=; b=YwPYugyzFPrf7ownoCUFXNVi5aOQd4hIxcEx9XAoAwqRCo6J+BRKm4aaRup99LUo0l CWU7kOQxF4GxyFSlEVOQ9I3a4tqWfjmem+uL2JnsXE6tKXCditaO5Hkgt2nOk9jkE80y IWM0WVWC1HBSplobd0SB8tanJt8zgEeYdhU4+V1ywvdsaTOIIQ8gvopYdPuTkNnESXIL grb0P3dhoyBGYH+ObT6ZT8y7weE25h+rP8Lo94NFGBBH1D1x+cH57MGsoPoTAGyw0jfZ 1MmETZSxrpZaDP1SLnfb2gl02dJ7zTVglHqO0IG4JfpY05MWHJ/h1CuY+nskqhoPWugr 0mCQ== MIME-Version: 1.0 Received: by 10.50.140.100 with SMTP id rf4mr1084594igb.27.1352461135051; Fri, 09 Nov 2012 03:38:55 -0800 (PST) Received: by 10.64.33.143 with HTTP; Fri, 9 Nov 2012 03:38:54 -0800 (PST) In-Reply-To: References: Date: Fri, 9 Nov 2012 12:38:54 +0100 Message-ID: To: Florin Razvan Patan Cc: PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [RFC] Implement a LoggerInterface to PHP From: pierre.php@gmail.com (Pierre Joye) hi! On Thu, Nov 8, 2012 at 12:42 PM, 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. We already had a discussion about having pure interfaces in PHP, as standard. The idea was rejected. This is the role of the PSR group, or other similar entities to sit down together to define such things. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org