Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions 2 src/NLog.Database/NLog.Database.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
Docs:
https://github.com/nlog/NLog/wiki/Database-target
</PackageReleaseNotes>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>NLog;Database;SQL;logging;log</PackageTags>
<PackageIcon>N.png</PackageIcon>
<PackageProjectUrl>https://nlog-project.org/</PackageProjectUrl>
Expand Down Expand Up @@ -92,6 +93,7 @@
</PropertyGroup>

<ItemGroup>
<None Include="README.md" Pack="true" PackagePath="" />
<None Include="N.png" Pack="true" PackagePath="" visible="false" />
</ItemGroup>
<Target Name="DownloadMissingContent" BeforeTargets="GenerateNuspec">
Expand Down
23 changes: 23 additions & 0 deletions 23 src/NLog.Database/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# NLog Database Target

NLog Database Target can write to any database that has ADO.NET Database Provider. Ex. NS-SQL, MySQL, SqLite, Oracle, etc.

Make sure to also install the nuget-package for the wanted Database Provider, and configure the [DbProvider](https://github.com/NLog/NLog/wiki/Database-target#dbprovider-examples) for the Database Target.

See the [NLog Wiki](https://github.com/NLog/NLog/wiki/Database-target) for available options and examples.

## Register Extension

NLog will only recognize type-alias `database` when loading from `NLog.config`-file, if having added extension to `NLog.config`-file:

```xml
<extensions>
<add assembly="NLog.Database"/>
</extensions>
```

Alternative register from code using [fluent configuration API](https://github.com/NLog/NLog/wiki/Fluent-Configuration-API):

```csharp
LogManager.Setup().SetupExtensions(ext => ext.RegisterTarget<NLog.Targets.DatabaseTarget>());
```
2 changes: 2 additions & 0 deletions 2 src/NLog.OutputDebugString/NLog.OutputDebugString.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
OutputDebugStringTarget Docs:
https://github.com/NLog/NLog/wiki/OutputDebugString-target
</PackageReleaseNotes>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>NLog;Windows;DebugView;logging;log</PackageTags>
<PackageIcon>N.png</PackageIcon>
<PackageProjectUrl>https://nlog-project.org/</PackageProjectUrl>
Expand Down Expand Up @@ -60,6 +61,7 @@
</ItemGroup>

<ItemGroup>
<None Include="README.md" Pack="true" PackagePath="" />
<None Include="N.png" Pack="true" PackagePath="" visible="false" />
</ItemGroup>
<Target Name="DownloadMissingContent" BeforeTargets="GenerateNuspec">
Expand Down
21 changes: 21 additions & 0 deletions 21 src/NLog.OutputDebugString/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# NLog OutputDebugString Target

NLog OutputDebugString Target writes to the [OutputDebugString](https://msdn.microsoft.com/da-dk/library/windows/desktop/aa363362.aspx) Win32 API, which can be monitored using debugger tools like DebugView.

See the [NLog Wiki](https://github.com/NLog/NLog/wiki/OutputDebugString-target) for available options and examples.

## Register Extension

NLog will only recognize type-alias `OutputDebugString` when loading from `NLog.config`-file, if having added extension to `NLog.config`-file:

```xml
<extensions>
<add assembly="NLog.OutputDebugString"/>
</extensions>
```

Alternative register from code using [fluent configuration API](https://github.com/NLog/NLog/wiki/Fluent-Configuration-API):

```csharp
LogManager.Setup().SetupExtensions(ext => ext.RegisterTarget<NLog.Targets.OutputDebugStringTarget>());
```
2 changes: 2 additions & 0 deletions 2 src/NLog.WindowsEventLog/NLog.WindowsEventLog.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
Docs:
https://github.com/nlog/NLog/wiki/EventLog-target
</PackageReleaseNotes>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>NLog;EventLog;logging;log</PackageTags>
<PackageIcon>N.png</PackageIcon>
<PackageProjectUrl>https://nlog-project.org/</PackageProjectUrl>
Expand Down Expand Up @@ -61,6 +62,7 @@
</PropertyGroup>

<ItemGroup>
<None Include="README.md" Pack="true" PackagePath="" />
<None Include="N.png" Pack="true" PackagePath="" visible="false" />
</ItemGroup>
<Target Name="DownloadMissingContent" BeforeTargets="GenerateNuspec">
Expand Down
21 changes: 21 additions & 0 deletions 21 src/NLog.WindowsEventLog/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# NLog EventLog Target

NLog EventLog Target writes to the Windows EventLog.

See the [NLog Wiki](https://github.com/nlog/nlog/wiki/EventLog-target) for available options and examples.

## Register Extension

NLog will only recognize type-alias `eventlog` when loading from `NLog.config`-file, if having added extension to `NLog.config`-file:

```xml
<extensions>
<add assembly="NLog.WindowsEventLog"/>
</extensions>
```

Alternative register from code using [fluent configuration API](https://github.com/NLog/NLog/wiki/Fluent-Configuration-API):

```csharp
LogManager.Setup().SetupExtensions(ext => ext.RegisterTarget<NLog.Targets.EventLogTarget>());
```
2 changes: 2 additions & 0 deletions 2 src/NLog.WindowsRegistry/NLog.WindowsRegistry.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
RegistryLayoutRenderer Docs:
https://github.com/NLog/NLog/wiki/Registry-Layout-Renderer
</PackageReleaseNotes>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>NLog;Windows;Registry;logging;log</PackageTags>
<PackageIcon>N.png</PackageIcon>
<PackageProjectUrl>https://nlog-project.org/</PackageProjectUrl>
Expand Down Expand Up @@ -70,6 +71,7 @@
</ItemGroup>

<ItemGroup>
<None Include="README.md" Pack="true" PackagePath="" />
<None Include="N.png" Pack="true" PackagePath="" visible="false" />
</ItemGroup>
<Target Name="DownloadMissingContent" BeforeTargets="GenerateNuspec">
Expand Down
21 changes: 21 additions & 0 deletions 21 src/NLog.WindowsRegistry/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# NLog Registry LayoutRenderer

NLog Registry LayoutRenderer to output value from Windows Registry.

See the [NLog Wiki](https://github.com/NLog/NLog/wiki/Registry-Layout-Renderer) for available options and examples.

## Register Extension

NLog will only recognize type-alias `registry` when loading from `NLog.config`-file, if having added extension to `NLog.config`-file:

```xml
<extensions>
<add assembly="NLog.WindowsRegistry"/>
</extensions>
```

Alternative register from code using [fluent configuration API](https://github.com/NLog/NLog/wiki/Fluent-Configuration-API):

```csharp
LogManager.Setup().SetupExtensions(ext => ext.RegisterLayoutRenderer<NLog.LayoutRenderers.RegistryLayoutRenderer>());
```
Morty Proxy This is a proxified and sanitized view of the page, visit original site.