[jboss-jira] [JBoss JIRA] Created: (JBLOGGING-23) Add support for internationalization and localization with parameterized messages

David Lloyd (JIRA) jira-events at lists.jboss.org
Tue Jul 28 21:36:29 EDT 2009


Add support for internationalization and localization with parameterized messages
---------------------------------------------------------------------------------

                 Key: JBLOGGING-23
                 URL: https://jira.jboss.org/jira/browse/JBLOGGING-23
             Project: JBoss Logging
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: jboss-logging-jdk, jboss-logging-log4j, jboss-logging-spi
            Reporter: David Lloyd
            Assignee: David Lloyd
             Fix For: 2.2.0.CR1-jboss-logging


The logging API should support optional parameters E.g.:

    /**
     * Issue a log message with parameters and a throwable with a level of TRACE.
     *
     * @param loggerFqcn the logger class name
     * @param message the message
     * @param params the message parameters
     * @param t the throwable
     */
   public void trace(String loggerFqcn, Object message, Object[] params, Throwable t) { ... }

The logger factory method should allow specification of a resource bundle, e.g.:

   Logger getLogger(String category, String resourceBundleName) { ... }


-- 
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 jboss-jira mailing list