Replies: 1 comment 1 reply
-
IME most loggers can format logger.AvailableFruits(["apple", "banana"]);
// output: The fruits 'apple, banana' are available |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi 👋🏻
We're making heavy use of compile-time logging source generation.
When it comes to non-trivial parameters like
List<string>
, I always end up with code like that:However, I'm not a big fan of this pattern due to the following reasons:
I'd like to know whether it is possible to simplify the code, e. g. by hooking into the source generation process always execute
string.Join
when using a parameterList<string>
?Thank you 👋🏻
Beta Was this translation helpful? Give feedback.
All reactions