3 ms·
Log formatting is a different problem than string formatting. With log formatting you pass the formatting arguments as function parameters, which is completely
by orf 7y ago
Log formatting is a different problem than string formatting. With log formatting you pass the formatting arguments as function parameters, which is completely different from any other way you format strings.
- AlexandrB 7y agoI think you're getting downvoted because logging is basically doing: def log(fmt, *args): print(fmt % args) Hardly a huge change.