Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5B9CE200B46 for ; Sat, 16 Jul 2016 13:45:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5A21E160A5F; Sat, 16 Jul 2016 11:45:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A4FA6160A5D for ; Sat, 16 Jul 2016 13:45:21 +0200 (CEST) Received: (qmail 91546 invoked by uid 500); 16 Jul 2016 11:45:20 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 91531 invoked by uid 99); 16 Jul 2016 11:45:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jul 2016 11:45:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 924F02C0371 for ; Sat, 16 Jul 2016 11:45:20 +0000 (UTC) Date: Sat, 16 Jul 2016 11:45:20 +0000 (UTC) From: "Remko Popma (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (LOGGING-136) API Enhancements: 'String.format(String, Object...)' Functionality & Delegate Convenience Methods MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 16 Jul 2016 11:45:22 -0000 [ https://issues.apache.org/jira/browse/LOGGING-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15380699#comment-15380699 ] Remko Popma edited comment on LOGGING-136 at 7/16/16 11:44 AM: --------------------------------------------------------------- +1 to deprecate commons-logging and recommend users to move to the Log4j 2 API. was (Author: remkop@yahoo.com): +1 to deprecate commons-logging and recommend users to upgrade to the Log4j 2 API. > API Enhancements: 'String.format(String, Object...)' Functionality & Delegate Convenience Methods > ------------------------------------------------------------------------------------------------- > > Key: LOGGING-136 > URL: https://issues.apache.org/jira/browse/LOGGING-136 > Project: Commons Logging > Issue Type: Improvement > Affects Versions: 1.1.1 > Environment: N/A > Reporter: Daniel Siviter > Labels: api, api-addition > Fix For: 2.0 > > Attachments: commons-logging-1.1.1-src.rar, commons-logging-1.1.1.jar, site.rar > > Original Estimate: 4h > Remaining Estimate: 4h > > Improvements to the API to allow convenience methods for performing {{String.format(String, Object...)}} and allow access to the internal logging delegate. > Firstly, to add the {{String#format(String, Object...)}} functionality modify the methods (note: only {{#trace(...)}} shown): > {{void trace(Object message, Object... args);}} > {{void trace(Object message, Throwable t, Object... args);}} > This would allow compatiblity with previous versions of the API (although I believe they would still require a re-compile) and help tidy up code. > Secondly, to obtain access to the internal instance of a logger the addition of a {{#getDeletegate()}} method. > I can supply the code if required. -- This message was sent by Atlassian JIRA (v6.3.4#6332)