c++ - How to collect the relevant information from the provided log? -


I have a log file from which we collect the data related to the log file

  -------- Consider other data --------------- Evaluation of Function Testing 1 - Other Data - - Other Data - Output: This function was successfully received -------- Other data --------------- -------- Other data ---- ----------- Evaluation of Function Testing 2 - Other Data - Other Data - Output: Successfully Passed This Function - Other Data - - Other data -   

I have to collect all the output in the file against each function, such as

Test1: Output: this function successfully received

Test 2: Output: This function was successfully received

Can someone give me the approach to collecting relevant data

Can someone give me an approach to collecting relevant data Yes

Yes (but your question is unclear).

Your approach (broadly) must follow these steps:

  • Read
  • Check each line and see if it is a Pattern matches which you are interested
  • Interpret the stored lines (and display the results) Store Interesting Rows in Containers

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -