Uploaded image for project: 'JBoss Logging'
  1. JBoss Logging
  2. JBLOGGING-23

Add support for internationalization and localization with parameterized messages

XMLWordPrintable

      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) { ... }

              dlloyd@redhat.com David Lloyd
              dlloyd@redhat.com David Lloyd
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: