<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def log_no_newline(self, msg):
 """ print the message to the predefined log file without newline """

      self.print2file(self.logfile, False, False, msg)