git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using a logging.Logger in a C extension


Ian Pilcher <arequipeno at gmail.com> writes:
> I am working my way through writing a C extension, and I've realized
> that I need to log a few messages from the C code.

Have a look at "cython".

It significantly facilitates the realisation of C extensions,
drastically reduces risks to make something wrong
and makes it very easy to call back to Python.