code: function writeLogFile(file, line) {
       
      if (file === undefined || file === null) {
          return;
      }
      
      fs.appendFile(file, line + os.EOL, {}, function() {
          //
      });
  }
docs: Appends line to a file if Logger.file is specified.