Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4371381

logging APIs: specification refers to undefined notions

XMLWordPrintable

    • beta
    • generic
    • generic
    • Verified



      Name: abR10010 Date: 09/14/2000




      The Java Logging APIs specification (version 0.49) for the methods of Logger class:
        - log(Level, String, Throwable)
        - log(Level, String, String, String, Throwable)
        - throwing(String, String, Throwable)
      contains the following:

      "Note that the thrown argument is stored in the LogRecord.thrown field,
      rather than the LogRecord.params field. Thus is it processed specially
      by output Formatters and is not treated as a formatting parameter to the
      LogRecord.message string".

      However this specification does not define anywhere LogRecord.thrown,
      LogRecord.params nor LogRecord.message fields.

      These undefined notions may mislead users.


      ======================================================================

            ghamiltosunw Graham Hamilton (Inactive)
            bondsunw Bond Bond (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: