title: How to config `Serilog` to write to the application directory with the cofig file?
body: <p>I'm using <code>Serilog</code> on a <code>.net core</code>.
  I want to config the log path to the application directory.</p>
  
  <p>I see there's an extension <a href="https://github.com/serilog/serilog-settings-configuration" rel="noreferrer">https://github.com/serilog/serilog-settings-configuration</a> that enable <code>Serilog</code> to  read from <code>Configuration</code>.
  In the example , the path is configured as <code>"%TEMP%\\Logs\\serilog-configuration-sample.txt"</code>.
  How can I set it to the working directory?</p>
  
  <p>I've searched on so, and know that it can be done by code, but it seems there's no one asking how to do this by the config file, i.e. <code>appsettings.json</code>.</p>
  
  <p>Current configuration:</p>
  
  <pre><code>{
    "Serilog": {
      "Using": [
        "Serilog.Sinks.File"
      ],
      "MinimumLevel": {
        "Default": "Debug",
        "Override": {
          "Microsoft": "Warning",
          "System": "Warning"
        }
      },
      "WriteTo": [
        {
          "Name": "File",
          "Args": { "path": "Logs\\serilog-configuration-sample.txt" }
        }
      ],
      "Enrich": [ "FromLogContext", "WithMachineName" ],
      "Destructure": [
      ],
      "Properties": {
      }
    },
    "AllowedHosts": "*"
  }
  </code></pre>
  
  <p>I want the log path to be set to the working directory.
  But currently it's in "C:\Program Files\IIS Express".</p>