|
|
|
|
|
by aib
1518 days ago
|
|
> where is the f-string described as suboptimal? I guess it's implicit in that f-strings, as arguments, will be evaluated before the logging function can even run whereas `debug("...", heavy_obj)` will avoid a potentially expensive `str(heavy_obj)` (or whatever the string conversion warrants.) As for raiseExceptions, I'm not sure it's for optimization. It looks like an old sanity check for bad logging configurations. |
|