Skip to content

Commit 7ae8a5b

Browse files
authored
Merge pull request #180 from Varorbc/patch-1
Update readme.txt
2 parents 6db5001 + 382f24e commit 7ae8a5b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/Platforms/Exceptionless.NLog/readme.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,15 @@ the minLevel on the Exceptionless target to Trace so that you can control log le
2424
client configuration settings. Also, you can call Configuration.SetDefaultMinLogLevel to control the default
2525
minimum log level that will be used until the client retrieves settings from the server.
2626

27-
<nlog>
27+
<?xml version="1.0" encoding="utf-8" ?>
28+
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
29+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2830
<extensions>
2931
    <add assembly="Exceptionless.NLog"/>
3032
  </extensions>
3133

3234
  <targets async="true">
33-
    <target name="exceptionless" apiKey="API_KEY_HERE" xsi:type="Exceptionless">
35+
    <target xsi:type="Exceptionless" name="exceptionless" apiKey="API_KEY_HERE">
3436
      <field name="host" layout="${machinename}" />
3537
      <field name="identity" layout="${identity}" />
3638
      <field name="windows-identity" layout="${windows-identity:userName=True:domain=False}" />
@@ -46,4 +48,4 @@ minimum log level that will be used until the client retrieves settings from the
4648
-------------------------------------
4749
Documentation and Support
4850
-------------------------------------
49-
Please visit http://exceptionless.io for documentation and support.
51+
Please visit http://exceptionless.io for documentation and support.

0 commit comments

Comments
 (0)