parameters: (self, data)
docstring: Write data to the log file.
  
          Args:
              data (str): Data to write
  
          Raises:
              None
  
          Returns:
              None
docstring_summary: Write data to the log file.
docstring_tokens: Write data to the log file .
function: def write_data(self, data):
          """
          Write data to the log file.
  
          Args:
              data (str): Data to write
  
          Raises:
              None
  
          Returns:
              None
          """
          with open(self._PATH, "a") as f:
              LEGEND = '[' + self.modulename + ']' + ' [' + \
                             str(time.strftime("%Y-%m-%d %H:%M")) + '] '
              message = LEGEND + data + "\n"
              f.write(message)
function_tokens: def write_data ( self , data ) : with open ( self . _PATH , "a" ) as f : LEGEND = '[' + self . modulename + ']' + ' [' + str ( time . strftime ( "%Y-%m-%d %H:%M" ) ) + '] ' message = LEGEND + data + "\n" f . write ( message )