diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2004-09-24 11:46:44 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2004-09-24 11:46:44 (GMT) |
commit | 739d49e39b8c9aeafc7c4ca45e7046788126507d (patch) | |
tree | b07764a297fac3d386dedb60023b55fc192b220b /Doc/lib | |
parent | b2635b2f7163716d735e7eda7c1d5c039410d3e4 (diff) | |
download | cpython-739d49e39b8c9aeafc7c4ca45e7046788126507d.zip cpython-739d49e39b8c9aeafc7c4ca45e7046788126507d.tar.gz cpython-739d49e39b8c9aeafc7c4ca45e7046788126507d.tar.bz2 |
Added log() function documentation
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/liblogging.tex | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/lib/liblogging.tex b/Doc/lib/liblogging.tex index cfbb838..9b57870 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 |