<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def write_log(self, message):
 """ Proxy method for GeneralLogger. """

        if self.stream_log and not self.ended:
            # points to the Git stream write
            self.stream_log.write(message)
            return True