'Send a log message to the master.'

def log(self, msg, level, subs=()):

    full_msg = ['{}:{}:    {}'.format(self.client_conn.address[0], self.client_conn.address[1], msg)]
    for i in subs:
        full_msg.append(('        ->    ' + i))
    full_msg = '\n'.join(full_msg)
    self.channel.tell('log', log.LogEntry(full_msg, level))
