log(message,
level=0)
Handle a log message from the OpenID library.
This implementation writes the string it to sys.stderr ,
followed by a newline.
Currently, the library does not use the second parameter to this
function, but that may change in the future.
To install your own logging hook:
from openid import oidutil
def myLoggingFunction(message, level):
...
oidutil.log = myLoggingFunction
-
- Parameters:
message -
A string containing a debugging message from the OpenID
library
(type=str)
level -
The severity of the log message. This parameter is currently
unused, but in the future, the library may indicate more
important information with a higher level value.
(type=int or None)
- Returns:
-
Nothing.
|