def log_all(self, file):
global rflink_log<EOL>if file == None:<EOL><INDENT>rflink_log = None<EOL><DEDENT>else:<EOL><INDENT>log.debug('<STR_LIT>', file)<EOL>rflink_log = open(file, '<STR_LIT:a>')<EOL><DEDENT>
Log all data received from RFLink to file.