<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def logvalue(self, key, value):
 """Add log entry to request log info"""

        if not hasattr(self, 'logvalues'):
            self.logvalues = {}
        self.logvalues[key] = value