|
ATLAS Offline Software
|
Go to the documentation of this file.
28 : m_debugfn (debugfn),
75 if (!
fn ||
fn == Py_None)
CPyCppyy::PyException PyException
PyObject * m_debugfn
The debug message function.
Utility code originally from pyroot.
PyLogger(PyObject *debugfn, PyObject *errorfn)
Constructor.
virtual void debug(const char *msg)
Log a debugging message.
PyObject * m_errorfn
The error message function.
std::pair< std::vector< unsigned int >, bool > res
virtual void error(const char *msg)
Log an error message.
static void call(PyObject *fn, const char *msg)
Common code to call Python callback.
A concrete implementation of ILogger that calls back to Python.