From bf304b7733ad801e05496a061815b2bcaf10ea23 Mon Sep 17 00:00:00 2001 From: Grant Bowman Date: Thu, 26 Aug 2004 06:43:36 +0000 Subject: [PATCH] Update to reflect new style of log calls with 'import supybot.log as log' style imports. --- docs/STYLE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/STYLE b/docs/STYLE index 83310ee99..81224b77a 100644 --- a/docs/STYLE +++ b/docs/STYLE @@ -99,7 +99,7 @@ As a corrolary to the above, note that sometimes %f is used, but on when floats need to be formatted, e.g., %.2f. Use the log module to its fullest; when you need to print some values -to debug, use self.log.debug to do so, and leave those print +to debug, use log.info and log.debug to do so. Leave those print statements in the code (commented out) so they can later be re-enabled. Remember that once code is buggy, it tends to have more bugs, and you'll probably need those print statements again.