def _log(self, str_, type_="debug"):
        
        if hasattr(self, "logger"):
            self.logger(self, str_, type_)
Proxies a log message to this Modem's logger, if one has been set.
dataset/ETHPy150Open sahana/eden/modules/pygsm/gsmmodem.py/GsmModem._log