[jbossseam-issues] [JBoss JIRA] Assigned: (JBSEAM-3895) org.jboss.seam.log.Logging.getLogProvider(String,boolean) should be made public

Norman Richards (JIRA) jira-events at lists.jboss.org
Fri Jan 16 08:32:05 EST 2009


     [ https://jira.jboss.org/jira/browse/JBSEAM-3895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Richards reassigned JBSEAM-3895:
---------------------------------------

    Assignee: Norman Richards


> org.jboss.seam.log.Logging.getLogProvider(String,boolean) should be made public
> -------------------------------------------------------------------------------
>
>                 Key: JBSEAM-3895
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3895
>             Project: Seam
>          Issue Type: Feature Request
>          Components: Core
>    Affects Versions: 2.0.0.GA, 2.1.1.GA
>         Environment: environment independent feature
>            Reporter: Julien Kronegg
>            Assignee: Norman Richards
>            Priority: Minor
>   Original Estimate: 4 hours
>  Remaining Estimate: 4 hours
>
> We would like to create our own implementation of the org.jboss.seam.log.Log interface, like it is done in the org.jboss.seam.log.LogImpl class. The goal is to enrich the log message by adding some information.
> Because the org.jboss.seam.log.Logging.getLogProvider(String,boolean) method has a default access mode, it is only callable from a class in the same package (which is the case for LogImpl).
> So the feature request is: please make the org.jboss.seam.log.Logging.getLogProvider(String,boolean) method as public.
> The workaround is to call the method by introspection:
>   Method m = Logging.class.getDeclaredMethod("getLogProvider", new Class[] {String.class, boolean.class});
>   m.setAccessible(true);
>   LogProvider log = (LogProvider)m.invoke(null, new Object[] {category, wrapped});

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list