bitpanda-labs / loggo2

Open source Python logging utilities
MIT License
4 stars 12 forks source link

Static method fix #44

Closed interrogator closed 5 years ago

interrogator commented 5 years ago

Finally, I've figured out a way to auto-log static methods in uninstantiated classes.

TestMethods tries all method types, private, public, static, class and already Loggo decorated, with both an uninstantiated and an instantiated container. They now all behave as we want.

interrogator commented 5 years ago

No merge till we figure out if there's a nice library that handles decorating all methods, because setattr is kind of scary.