code: def log_event(self, event, text = None):
          
          self.__do_log( DebugLog.log_event(event, text) )
docs: Log lines of text associated with a debug event.
  
          @type  event: L{Event}
          @param event: Event object.
  
          @type  text: str
          @param text: (Optional) Text to log. If no text is provided the default
              is to show a description of the event itself.