code: def write(self, msg):
          
          self._current_stream.write(msg)
          for log in self._logs.values():
              log.append(msg)
docs: Writes msg to the current output stream (either standard
          out or dev/null). If a log has been registered, append msg
          to the log.
  
          PARAMTERS:
          msg -- str