Commit b2e9bd97 authored by Vinay Sajip's avatar Vinay Sajip

Added log() function documentation

parent 9db34240
...@@ -193,6 +193,11 @@ is added to the logging message. This function should only be called ...@@ -193,6 +193,11 @@ is added to the logging message. This function should only be called
from an exception handler. from an exception handler.
\end{funcdesc} \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} \begin{funcdesc}{disable}{lvl}
Provides an overriding level \var{lvl} for all loggers which takes Provides an overriding level \var{lvl} for all loggers which takes
precedence over the logger's own level. When the need arises to precedence over the logger's own level. When the need arises to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment