4 ms·
I've used metaclasses to implement debug logging, where every class method logs its parameters and return values: https://github.com/bkeroack/elita/blob/27129e
by bkeroack 11y ago
I've used metaclasses to implement debug logging, where every class method logs its parameters and return values:
https://github.com/bkeroack/elita/blob/27129ea64382275effa99d727f3dd7d9d2e1b47b/elita/dataservice/models.py#L33 https://github.com/bkeroack/elita/blob/27129ea64382275effa99...
https://github.com/bkeroack/elita/blob/27129ea64382275effa99d727f3dd7d9d2e1b47b/elita/util/__init__.py#L20-L25 https://github.com/bkeroack/elita/blob/27129ea64382275effa99...