]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added log() function documentation
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Fri, 24 Sep 2004 11:46:44 +0000 (11:46 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Fri, 24 Sep 2004 11:46:44 +0000 (11:46 +0000)
Doc/lib/liblogging.tex

index cfbb8384f10da5792c6473ccdef856be9a6a279d..9b57870642e4cfd30e2a8428b487c25f7f06d4dd 100644 (file)
@@ -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