Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63777 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71529 invoked from network); 8 Nov 2012 11:43:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Nov 2012 11:43:22 -0000 Authentication-Results: pb1.pair.com header.from=florinpatan@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=florinpatan@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.42 as permitted sender) X-PHP-List-Original-Sender: florinpatan@gmail.com X-Host-Fingerprint: 209.85.215.42 mail-la0-f42.google.com Received: from [209.85.215.42] ([209.85.215.42:50890] helo=mail-la0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B2/20-04518-7DA9B905 for ; Thu, 08 Nov 2012 06:43:19 -0500 Received: by mail-la0-f42.google.com with SMTP id e6so2119257lah.29 for ; Thu, 08 Nov 2012 03:43:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=5OPam/FDE9Uiv/rQQDF0U9ZnraZ53QK2t3HG++77x/8=; b=QPa/LGCZoDOJu3rwR1EDZmMWzmclK1zyE/Xxp1Sa5YEiRFQmQo6uHhu7DdXMPtA/K1 1AsCMvBGxWgY0TyKCgekPHBVmSSqlXYEFQFCq8Kiilww19tCwtuxdYqDVgfX5L9B6dUA S0Zy23JuRxtadWrAPiitcx/8xhjK9nblZ8JFQ76EkH+iyvv2Wu1CLIlct+DweCNZp7fD XXYhNlAkWDVS+Hdj1OfbhyGghxLQjMM/Ow731qyGEBhpe0uthE5oTmm1PTDrftGSk8Vu 19ujNLExk52Kk3TKCe+N1pLyMibwxX5kIoj4CQMTdYkqxe96G6hqIUUG4KApF13WmY76 XaGA== Received: by 10.112.13.173 with SMTP id i13mr3204293lbc.108.1352374996576; Thu, 08 Nov 2012 03:43:16 -0800 (PST) MIME-Version: 1.0 Received: by 10.114.60.109 with HTTP; Thu, 8 Nov 2012 03:42:46 -0800 (PST) Date: Thu, 8 Nov 2012 13:42:46 +0200 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Subject: [RFC] Implement a LoggerInterface to PHP From: florinpatan@gmail.com (Florin Razvan Patan) 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