Skip to content

lisa.utils: Add Loggable.logger property

Douglas Raillard requested to merge github/fork/douglas-raillard-arm/_pr366 into master

Allows abbreviating self.get_logger() into self.logger .

In classmethods, cls.get_logger() is still needed, since having a "class property" would require a metaclass. That would bring more potential (trivial) metaclass conflicts that could confuse people writing new classes so it has not been done.

Merge request reports