[JIRA] Updates for SLF4J-545: lf4j-jdk-platform-logging - SLF4JPlatformLogger should use java.text.MessageFormat - not String.format()

SLF4J / SLF4J-545 [Open] lf4j-jdk-platform-logging - SLF4JPlatformLogger should use java.text.MessageFormat - not String.format() ============================== Here's what changed in this issue in the last few minutes. This issue has been created This issue is now assigned to you. View or comment on issue using this link https://jira.qos.ch/browse/SLF4J-545 ============================== Issue created ------------------------------ robin created this issue on 18/Mar/22 5:39 AM Summary: lf4j-jdk-platform-logging - SLF4JPlatformLogger should use java.text.MessageFormat - not String.format() Issue Type: Bug Assignee: SLF4J developers list Created: 18/Mar/22 5:39 AM Environment: Component: slf4j-jdk-platform-logging Priority: Major Reporter: robin Description: This line here: [https://github.com/qos-ch/slf4j/blob/master/slf4j-jdk-platform-logging/src/m...] {{message = String.format(message, params);}} Should instead be: {{message = MessageFormat.format(message, params);}} Such that is matches the expected format of System.Logger.log() ... as per https://docs.oracle.com/javase/9/docs/api/java/lang/System.Logger.html#log-j... ============================== This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59)
participants (1)
-
QOS.CH (JIRA)