OpenGL.logs
Fix missing-API problems in logging module (circa Python 2.3)
Adds constants to the log objects.
Adds getException(err) to log objects to retrieve
formatted exception or err if traceback not available.
Functions
logOnFail(
function
,
log
)
Produce possible log-wrapped version of function
- function
- callable object to be wrapped
- log
- the log to which to log information
Uses ERROR_LOGGING and FULL_LOGGING
to determine whether/how to wrap the function.
Classes
class _ErrorLoggedFunction(
_LoggedFunction
):