[slf4j-dev] [JIRA] Updates for SLF4J-490: Better combination for logging and exceptions

QOS.CH (JIRA) noreply-jira at qos.ch
Wed Jun 30 23:38:00 CEST 2021


SLF4J / SLF4J-490 [Closed]
Better combination for logging and exceptions

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

Here's what changed in this issue in the last few minutes.

There is 1 comment.

View or comment on issue using this link
https://jira.qos.ch/browse/SLF4J-490

==============================
 1 comment
------------------------------

Norbert Kiesel on 30/Jun/21 11:27 PM
Fair enough.  My motivations came from encouraging my developers to use the `{}` approach.  Too often, they use

```java

logger.error(String.format("Param %s must be in "[%s-%s]", name, low, high));

```

Thus, it would be nice to have an unified template mechanism for both logging and exceptions


==============================
 This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59)



More information about the slf4j-dev mailing list