mirror of https://github.com/python/cpython
Updated Logger.log() docstring to clarify that lvl parameter should be an integer.
This commit is contained in:
parent
1cf56d0b8a
commit
eb477d04f7
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue