[jboss-jira] [JBoss JIRA] Created: (JBLOGGING-60) Logger#getMessageLogger() should allow category to be specified as class

Dan Allen (JIRA) jira-events at lists.jboss.org
Mon Mar 28 14:18:37 EDT 2011


Logger#getMessageLogger() should allow category to be specified as class
------------------------------------------------------------------------

                 Key: JBLOGGING-60
                 URL: https://issues.jboss.org/browse/JBLOGGING-60
             Project: JBoss Logging
          Issue Type: Enhancement
      Security Level: Public (Everyone can see)
    Affects Versions: 3.0.0.Beta4-jboss-logging
            Reporter: Dan Allen
            Assignee: David Lloyd


To be consistent with the getLogger() method on Logger:

static Logger getLogger(String category)
static Logger getLogger(Class<?> category)

the getMessageLogger() should allow the category to be specified as a class by adding these additional methods

static <T> T getMessageLogger(Class<T> type, Class<?> category)
static <T> T getMessageLogger(Class<T> type, Class<?> category, Locale locale)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list