Skip to content

Instantly share code, notes, and snippets.

@japborst
Created October 5, 2022 16:26
Show Gist options
  • Save japborst/10259865f9b9bf270df6b52e880fd063 to your computer and use it in GitHub Desktop.
Save japborst/10259865f9b9bf270df6b52e880fd063 to your computer and use it in GitHub Desktop.
private static final Logger LOG = LoggerFactory.getLogger(Example.class);
private static final String FMT2 = "with-{}-{}-placeholders";
public static void main(String[] args) {
LOG.error("with-'%s'-placeholder", args);
LOG.error(FMT2, args);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment