4 ms·
What do you mean the old way? Will it print what foo is if I type logger.info("{foo=}")?
by Will_Do 7y ago
What do you mean the old way?
Will it print what foo is if I type logger.info("{foo=}")?
- zaphirplane 7y agoLogging.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