From cf058083aa20a578b851f2ce18eb5be855ee582a Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 16 May 2011 13:36:31 +0100 Subject: Add justification for tracing to exist to README. --- README | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README b/README index e0de1ca..8077e69 100644 --- a/README +++ b/README @@ -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 -------- -- cgit v1.2.1