deb52ad350
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 | ||
atom.py | ||
error.py | ||
htmlim.py | ||
iq.py | ||
message.py | ||
nick.py | ||
presence.py | ||
rootstanza.py | ||
roster.py | ||
stream_error.py | ||
stream_features.py |