lxg

Simple interface for quick append logger functionality to the class


License
BSD-3-Clause
Install
pip install lxg==0.1.1rc1

Documentation

Interface for quick access to the logging functionality

The sample:

from lxg import Loggable

MyClass:

    def method1(self):
        ...

MyClassToo(MyClass, Loggable):

    def method1(self):
        self.debug(f'Do method1')
        super().method1()