docs: def emit(self, record):
          """Emit a record.
  
          If a formatter is specified, it is used to format the record. If exception information is present, an Exception
          telemetry object is sent instead of a Trace telemetry object.
  
          Args:
              record (:class:`logging.LogRecord`). the record to format and send.
          """
          # the set of properties that will ride with the record
          properties = {
              'process': record.processName,
              'module': record.module,
              'fileName': record.filename,
              'lineNumber': record.lineno,
              'level': record.levelname,
          }
  
          # if we have exec_info, we will use it as an exception
          if record.exc_info:
              self.client.track_exception(*record.exc_info, properties=properties)
              return
  
          # if we don't simply format the message and send the trace
          formatted_message = self.format(record)
          self.client.track_trace(formatted_message, properties=properties, severity=record.levelname)