Replies: 1 comment 2 replies
-
IME most loggers can format logger.AvailableFruits(["apple", "banana"]);
// output: The fruits 'apple, banana' are available |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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