Skip to content

Commit

Permalink
Some guidelines.md fixes (#2094)
Browse files Browse the repository at this point in the history
There is no `log` method on Loggers, see:

https://slf4j.org/api/org/slf4j/Logger.html

Signed-off-by: Wouter Born <github@maindrain.net>
  • Loading branch information
wborn authored Jul 1, 2023
1 parent 52484aa commit ea5fce9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions developers/guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
```

Expand Down

0 comments on commit ea5fce9

Please sign in to comment.