code: def _logger_api(self):
          
          from .tcex_logger import TcExLogHandler, TcExLogFormatter
  
          api = TcExLogHandler(self.session)
          api.set_name('api')
          api.setLevel(logging.DEBUG)
          api.setFormatter(TcExLogFormatter())
          self.log.addHandler(api)
docs: Add API logging handler.