Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Will_Do
· 7y ago · 0 comments
What do you mean the old way?
Will it print what foo is if I type logger.info("{foo=}")?
Comments
[–]
zaphirplane
7y 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