Malcolm Greene wrote:
> I'm using the Python logging module and looking for a way to include a
> method's class name when using %(funcName). Is this possible? When you
> have several related classes, just getting the function (method) name is
> not enough information to provide context on the code
Malcolm Greene writes:
> I'm using the Python logging module and looking for a way to include a
> method's class name when using %(funcName). Is this possible?
If it does not happen automatically, the standard logging components
will not let you do it (the name "funcName" is rather explicit;
you
I'm using the Python logging module and looking for a way to include a
method's class name when using %(funcName). Is this possible? When you
have several related classes, just getting the function (method) name is
not enough information to provide context on the code being executed.
I'm outputting