Uploaded image for project: 'SLF4J'
  1. SLF4J
  2. SLF4J-482

Explicit parameter for throwable

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.7.29
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Description

      This question on StackOverflow led me here as I had very the same question.

      That behaviour is kind of hidden - not described in JavaDoc.

      I believe it would be good to have

      error(format, throwable, parameters)

      alternative (as throwable cannot be the last), which can call the existing one internally.

      I created this improvement just to make it easier for developers.

        Attachments

          Activity

            People

            Assignee:
            slf4j-dev SLF4J developers list
            Reporter:
            Betlista Martin Suska
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: