'Used for picking the correct format to output data as'

def print_formatted_data(self, data, order, report_type, noheaders):

    if (report_type == 'csv'):
        self.logger.flat(self.reporting_csv(data, order, noheaders))
    if (report_type == 'mediawiki'):
        self.logger.flat(self.reporting_mediawiki(data, order, noheaders))
    if (report_type == 'trac'):
        self.logger.flat(self.reporting_trac(data, order, noheaders))
    if (report_type == 'doku'):
        self.logger.flat(self.reporting_doku(data, order, noheaders))
