parameters: (self, format)
docstring: Set the output format for the class instance.
docstring_summary: Set the output format for the class instance.
docstring_tokens: Set the output format for the class instance .
function: def set_output_format(self, format):
          """ Set the output format for the class instance. """
          try:
              self.serializer = self.output_formats[format.lower()]
          except KeyError:
              message(CRITICAL, 'Invalid Output Format: "%s". Use one of %s.' \
                                 % (format, self.output_formats.keys()))
function_tokens: def set_output_format ( self , format ) : try : self . serializer = self . output_formats [ format . lower ( ) ] except KeyError : message ( CRITICAL , 'Invalid Output Format: "%s". Use one of %s.' % ( format , self . output_formats . keys ( ) ) )