mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-12-25 03:00:17 +00:00
6f3cc77bb5
Note that using % in a string will _always_ perform the sting substitutions, because the strings are constructed before the function is called. So log.debug('%s' % expensiveoperation()) will take about the same CPU time whether or not the logging level is DEBUG or INFO. if you use , no substitutions are performed unless the string is actually logged |
||
---|---|---|
.. | ||
__init__.py | ||
base.py | ||
id.py | ||
many.py | ||
stanzapath.py | ||
xmlmask.py | ||
xpath.py |