I have a very detailed log system for my tests in Selenium with C#. But, I want to show it only for the failed tests. The tests that pass should only display something like the time it started and the time it finished. Is there any way to remove the added logs from the ExtentTest? Another solution could be to add those logs to a "buffer" and won't be written unless we decide it.
I have a very detailed log system for my tests in Selenium with C#. But, I want to show it only for the failed tests. The tests that pass should only display something like the time it started and the time it finished. Is there any way to remove the added logs from the ExtentTest? Another solution could be to add those logs to a "buffer" and won't be written unless we decide it.
Thank you