.. title:: Loggable lisa.utils.Loggable =================== .. autoclass:: lisa.utils::Loggable :no-members: :no-inherited-members: :no-undoc-members: :no-private-members: :no-special-members: .. rubric:: Properties .. list-table:: :align: left * - :attr:`~lisa.utils.Loggable.logger` - .. withrefctx:: :module: lisa.utils :class: lisa.utils.Loggable Convenience short-hand for ``self.get_logger()``. .. rubric:: Methods .. list-table:: :align: left * - :meth:`~lisa.utils.Loggable.get_logger` - .. withrefctx:: :module: lisa.utils :class: lisa.utils.Loggable Provides a :class:`logging.Logger` named after ``cls``. * - :meth:`~lisa.utils.Loggable.log_locals` - .. withrefctx:: :module: lisa.utils :class: lisa.utils.Loggable Debugging aid: log the local variables of the calling function. Properties ---------- .. autoproperty:: lisa.utils::Loggable.logger Methods ------- .. automethod:: lisa.utils::Loggable.get_logger .. automethod:: lisa.utils::Loggable.log_locals