Logging a dictionary/list

Hello. For example when ordering there is this log:
[IMPORTANT] FOH Ordering (R $restaurant:id): Group $group:id placed order $order:id of $dish:NameToAmount with waitstaff $waitstaff:id

However, I would like to know exactly what logged key-value pairs are supposed to look like. For example, if group ordered 2 potato soups and 3 chicken rices, should it look like this, including curly brackets and all the other punctuation?

[IMPORTANT] FOH Ordering (R 1): Group 1 placed order 1 of {“chicken rice”: 3, “potato soup”: 2} with waitstaff 1.

Similar question about a list (e.g. merging tables logger). Is it written like this (for example)?

[INFO] FOH Merging Tables (R 1): For group 1 the tables [1, 2] were merged into 1.

https://forum.se.cs.uni-saarland.de:51443/t/multiple-ids-in-one-log/112/3

2 Likes

Oups, didn’t find it previously, thank you

1 Like