From eb477d04f7be4bfbf356825a0d832c012dab1ac7 Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Wed, 4 Aug 2004 08:38:08 +0000 Subject: Updated Logger.log() docstring to clarify that lvl parameter should be an integer. --- Lib/logging/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index 8c63160..5632acd 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -967,7 +967,7 @@ class Logger(Filterer): def log(self, level, msg, *args, **kwargs): """ - Log 'msg % args' with the severity 'level'. + Log 'msg % args' with the integer severity 'level'. To pass exception information, use the keyword argument exc_info with a true value, e.g. -- cgit v0.12