title: Printing the Console output in the Azure DevOps Test Run task
body: <p>I am doing some initial one off setup using <code>[BeforeTestRun]</code> hook for my specflow tests. This does check on some users to make sure if they exist and creates them with specific roles and permissions if they are not so the automated tests can use them. The function to do this prints a lot of useful information on the <code>Console.Writeline</code>.
  When I run the test on my local system I can see the output from this hook function on the main feature file and the output of each scenario under each of them. But when I run the tests via Azure DevOps pipleine, I am not sure where to find the output for the <code>[BeforeTestRun]</code> because it is not bound a particular test scenario. The console of Run Tests Tasks has no information about this.</p>
  <p>Can someone please help me to show this output somewhere so I can act accordingly.</p>
  <p>I tried to use <code>System.Diagnostics.Debug.Print</code>, <code>System.Diagnostics.Debug.Print</code>, <code>System.Diagnostics.Debug.WriteLine</code> and <code>System.Diagnostics.Trace.WriteLine</code>, but nothing seems to work on pipeline console.</p>
  <pre class="lang-cs prettyprint-override"><code>[BeforeTestRun]
  public static void BeforeRun()
  {
      Console.WriteLine(
          &quot;Before Test run analyzing the users and their needed properties for performing automation run&quot;);
  }
  </code></pre>
  <p>I want my output to be visible somewhere so I can act based on that information if needed to.</p>