Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
Will_Do
6y ago
0 comments
Save
Share
What do you mean the old way?
Will it print what foo is if I type logger.info("{foo=}")?
0 comments
1 comments · 1 top-level
top
newest
oldest
zaphirplane
6y ago
Logging.info(“%s %s”, name, country”) the string isn’t expanded if the logging is set to warn. While with your example the string is expanded then discarded
j
/
k
navigate · click thread line to collapse