title: Serilog : choose which sink to log at runtime
body: <p>I'm going to implement Serilog within .net standard 2.0 library.
  I'm looking for a way to choose which sink(s) should be used for each log line.</p>
  <p>Lets say that we define 2 sinks within the configuration (console &amp; file) :</p>
  <pre><code>    Log.Logger = new LoggerConfiguration()
          .MinimumLevel.Debug()
          .WriteTo.Console()
          .WriteTo.File(&quot;c:\\temp\\SerilogTets.txt&quot;)
          .CreateLogger();
  </code></pre>
  <p>After this, we are going to write one log rule :</p>
  <pre><code>Log.Information(&quot;Hello, world!&quot;);  //&lt;- how can we define which sink we want to use
  </code></pre>
  <p>I'm looking for a way howto define for which sink(s) those lines should be logged for :</p>
  <ul>
  <li>Console &amp; File</li>
  <li>Console only</li>
  <li>File only</li>
  </ul>
  <p>Without relying on what loglevel it is.</p>
  <p>Thank you in advance!</p>
  <p>Kind regards,
  Kurt</p>