Returns a logger for the plugin.

def get_logger(cls, custom_name=None):
        """Returns a logger for the plugin."""
        name = custom_name or cls.get_name()
        return logging.getLogger(name)