'get end state info'

def get_end_state(self):

    log_dict = self.get_log_dict()
    if (not log_dict):
        return
    if self.log_time_stamp:
        self.end_state['log_time_stamp'] = log_dict.get('logTimeStamp').lower()
    if (self.log_buff_enable != 'no_use'):
        self.end_state['log_buff_enable'] = log_dict.get('icLogBuffEn')
    if self.log_buff_size:
        self.end_state['log_buff_size'] = log_dict.get('bufferSize')
    if self.module_name:
        self.end_state['source'] = log_dict.get('source')
