You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Daniel Siviter (JIRA)" <ji...@apache.org> on 2010/04/21 18:57:50 UTC

[jira] Created: (LOGGING-136) API Enhancements: 'String.format(String, Object...)' Functionality & Delegate Convenience Methods

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


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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (LOGGING-136) API Enhancements: 'String.format(String, Object...)' Functionality & Delegate Convenience Methods

Posted by "Madhusudan Pagadala (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LOGGING-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Madhusudan Pagadala updated LOGGING-136:
----------------------------------------

    Attachment: commons-logging-1.1.1-src.rar
                commons-logging-1.1.1.jar
                site.rar

I have implemented this change and compiled the code using maven and generated the java doc.
This can be merged with main branch, this code is compatible with  Java5


> 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
>         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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.