diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-05-16 13:36:31 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-05-16 13:36:31 +0100 |
commit | cf058083aa20a578b851f2ce18eb5be855ee582a (patch) | |
tree | ed6d5ad14a0581851148c71132ac1c5d3655a493 | |
parent | f8242557cf4683fe1ea42ec55594b1dd0ee01194 (diff) | |
download | python-tracing-cf058083aa20a578b851f2ce18eb5be855ee582a.tar.gz |
Add justification for tracing to exist to README.
-rw-r--r-- | README | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -13,6 +13,13 @@ quite a bit of time. This module provides a way to turn such debugging or tracing messages on and off, based on the filename they occur in. +A similar effect can be had by adding a `logging.Filter` that enables +or disables log messages at the `DEBUG` level. The filter gets called +by the `logging` library at the suitable time. However, this is about +an order of magnitude slower for the case of running software in +production mode, with all tracing turned off. That is the reason +for the `tracing` library to exist. + Legalese -------- |