Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63780 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79357 invoked from network); 8 Nov 2012 13:38:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Nov 2012 13:38:59 -0000 Authentication-Results: pb1.pair.com header.from=sebastian.krebs.berlin@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=krebs.seb@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.170 as permitted sender) X-PHP-List-Original-Sender: krebs.seb@gmail.com X-Host-Fingerprint: 209.85.215.170 mail-ea0-f170.google.com Received: from [209.85.215.170] ([209.85.215.170:34544] helo=mail-ea0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AB/71-04518-1F5BB905 for ; Thu, 08 Nov 2012 08:38:58 -0500 Received: by mail-ea0-f170.google.com with SMTP id a13so1138876eaa.29 for ; Thu, 08 Nov 2012 05:38:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:x-google-sender-delegation:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=CWgsvCTR+CqSaFj+NZkda6JVQm93WjB5uTL2BC4+JO0=; b=yUiA/itiFpuRlBIMEQ3g/HBR3dyPXkYNsl2y/8qu1q2DgmwBFJ5zMaI3HImNgu1aZj 7dMOJiBJ+d7h7szHEdxGwYmKYgcsbPOJl5xKosx8YuyBA7iUrUeCUyNciO26jMg8YoGe FY90hbSw8n7hrHqjHM4FK9NHMuAZYNi15ph+IXRoNNSTrpfaKIuvF19ZxgjQu3S6jBIK OCMIymGgBvuJowMxad2ohz5CD7QB0gxieJ70ZbRS9yVrsdUSFiefROF45N6NqBK67o61 7pF4A7QuQ29IKmLvEGwJ/nSfzhVQW1Xps6noDsfmUGZcVMvPkyj5j2wjw0RP1n2X8S71 ni6w== MIME-Version: 1.0 Received: by 10.14.182.9 with SMTP id n9mr27571305eem.24.1352381934874; Thu, 08 Nov 2012 05:38:54 -0800 (PST) Sender: sebastian.krebs.berlin@gmail.com X-Google-Sender-Delegation: sebastian.krebs.berlin@gmail.com Received: by 10.14.207.67 with HTTP; Thu, 8 Nov 2012 05:38:54 -0800 (PST) In-Reply-To: References: Date: Thu, 8 Nov 2012 14:38:54 +0100 X-Google-Sender-Auth: 4_GFj7U62gPd11I6eOqJLkCmluA Message-ID: To: PHP internals list Content-Type: multipart/alternative; boundary=047d7b343884d431b204cdfbf4c1 Subject: Re: [PHP-DEV] [RFC] Implement a LoggerInterface to PHP From: krebs.seb@gmail.com (Sebastian Krebs) --047d7b343884d431b204cdfbf4c1 Content-Type: text/plain; charset=ISO-8859-1 2012/11/8 Anthony Ferrara > 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? > There are already discussing this (to be honest: For months now). Some are mentioned at the pull requests at https://github.com/php-fig/fig-standards/pulls > > 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 > -- github.com/KingCrunch --047d7b343884d431b204cdfbf4c1--