title: How to add ThreadId and ProcessId into the log output for each entry
body: <p>is there a simple way to add <strong>ThreadId</strong> and <strong>ProcessId</strong> into the logs through <strong>Microsoft.Extensions.Logging</strong> without writing my own LoggingProvider?</p>
  
  <p>Simply following code</p>
  
  <pre><code>Logger.LogInformation("This is a test of the emergency broadcast system.");
  </code></pre>
  
  <p>should produce the following or similar output. <em>(please assume I'm talking about ConsoleLogger)</em></p>
  
  <pre><code>info: [{ProcessId}:{ThreadId}] This is a test of the emergency broadcast system.
  </code></pre>
  
  <blockquote>
    <ul>
    <li>For those who are familiar with <em>serilog</em>, I'm looking for the features called  <strong>output template</strong> and <strong>defining global property</strong></li>
    <li>Please do not suggest any third party library</li>
    </ul>
  </blockquote>