From: Vinay Sajip Date: Fri, 24 Sep 2004 11:46:44 +0000 (+0000) Subject: Added log() function documentation X-Git-Tag: v2.4b1~201 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=739d49e39b8c9aeafc7c4ca45e7046788126507d;p=thirdparty%2FPython%2Fcpython.git Added log() function documentation --- diff --git a/Doc/lib/liblogging.tex b/Doc/lib/liblogging.tex index cfbb8384f10d..9b57870642e4 100644 --- a/Doc/lib/liblogging.tex +++ b/Doc/lib/liblogging.tex @@ -193,6 +193,11 @@ is added to the logging message. This function should only be called from an exception handler. \end{funcdesc} +\begin{funcdesc}{log}{level, msg\optional{, *args\optional{, **kwargs}}} +Logs a message with level \var{level} on the root logger. +The other arguments are interpreted as for \function{debug()}. +\end{funcdesc} + \begin{funcdesc}{disable}{lvl} Provides an overriding level \var{lvl} for all loggers which takes precedence over the logger's own level. When the need arises to