Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63790 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43440 invoked from network); 9 Nov 2012 09:32:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Nov 2012 09:32:48 -0000 Authentication-Results: pb1.pair.com header.from=fullmoon@newsguy.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=php-php-dev@m.gmane.org; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain m.gmane.org designates 80.91.229.3 as permitted sender) X-PHP-List-Original-Sender: php-php-dev@m.gmane.org X-Host-Fingerprint: 80.91.229.3 plane.gmane.org Received: from [80.91.229.3] ([80.91.229.3:52559] helo=plane.gmane.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 59/B0-31177-DBDCC905 for ; Fri, 09 Nov 2012 04:32:46 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TWkxG-0003zX-WF for internals@lists.php.net; Fri, 09 Nov 2012 10:32:51 +0100 Received: from 170.sub-75-228-244.myvzw.com ([75.228.244.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Nov 2012 10:32:50 +0100 Received: from fullmoon by 170.sub-75-228-244.myvzw.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Nov 2012 10:32:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: internals@lists.php.net Date: Fri, 09 Nov 2012 02:32:30 -0700 Lines: 39 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 170.sub-75-228-244.myvzw.com User-Agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0 In-Reply-To: X-Archive: encrypt Subject: Re: [PHP-DEV] [RFC] Implement a LoggerInterface to PHP From: fullmoon@newsguy.com (crankypuss) On 11/08/2012 04: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 > > ---- > Florin Patan > The possibility of opening security holes or otherwise breaking existing applications because new functionality has been introduced "by default", is such that inclusions of new functionality *by*default* are usually Very Bad Luck and should imo always be avoided.