Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method PTF_WriteLogLineForAction ( 
 | 
  String str 
 | 
) id:Method_LibPTF_pnlTestRunner_PTF_WriteLogLineForAction 
 | 
{ 
 | 
  #keys: '[102890.0.1882321261]' 
 | 
  Body: 
 | 
  [* 
 | 
    // Log the executed action information in result log 
 | 
    path := vhResultLogPath.Value(); 
 | 
     
 | 
    if ( path.Length() > 0 ) 
 | 
    { 
 | 
      filename := ApplicationScope.Session().CurrentUser().ShortName() + '_' + [String]ApplicationScope.Session().ClientId() + LibPTF::FileExtTempResult(); 
 | 
      fullpath := path + filename ; 
 | 
     
 | 
      file := OSFile::Construct(); 
 | 
      file.Open( fullpath, 'Append', true ); 
 | 
     
 | 
      if( this.PTF_RequiredActionLogData() ) 
 | 
      { 
 | 
        file.WriteTextLine( str ); 
 | 
      } 
 | 
     
 | 
      file.Close(); 
 | 
    } 
 | 
  *] 
 | 
} 
 |