From d14473acae9f2c63b339d6da66df84eca40a63af Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Fri, 30 Jun 2023 08:25:18 +0200 Subject: [PATCH] Some guidelines.md fixes There is no `log` method on Loggers, see: https://slf4j.org/api/org/slf4j/Logger.html Signed-off-by: Wouter Born --- developers/guidelines.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/developers/guidelines.md b/developers/guidelines.md index f1f5cd072e..e61b7cd36d 100644 --- a/developers/guidelines.md +++ b/developers/guidelines.md @@ -180,13 +180,13 @@ class MyCoolClass { } ``` -- Parametrized logging must be used (instead of string concatenation). +- Parameterized logging must be used (instead of string concatenation). ```java void myFun() { String someValue = "abc"; int someInt = 12; - logger.log("Current value is {} and int is {}", someValue, someInt); + logger.debug("Current value is {} and int is {}", someValue, someInt); } ```