Xtensive.Orm.Logging.NLog 7.1.2

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Xtensive.Orm.Logging.NLog --version 7.1.2                
NuGet\Install-Package Xtensive.Orm.Logging.NLog -Version 7.1.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Xtensive.Orm.Logging.NLog" Version="7.1.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xtensive.Orm.Logging.NLog --version 7.1.2                
#r "nuget: Xtensive.Orm.Logging.NLog, 7.1.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Xtensive.Orm.Logging.NLog as a Cake Addin
#addin nuget:?package=Xtensive.Orm.Logging.NLog&version=7.1.2

// Install Xtensive.Orm.Logging.NLog as a Cake Tool
#tool nuget:?package=Xtensive.Orm.Logging.NLog&version=7.1.2                

Xtensive.Orm.Logging.NLog

Summary

The extension provides integration points between DataObjects.Net internal logging system and NLog.

Prerequisites

DataObjects.Net 7.1.x (http://dataobjects.net) NLog 4.5 or later (http://nlog-project.org)

Implementation

Set up log provider in Xtensive.Orm configuration section

  <Xtensive.Orm>
    <domains>
      <domain ... >
      </domain>
    </domains>
    <logging provider="Xtensive.Orm.Logging.NLog.LogProvider, Xtensive.Orm.Logging.NLog">
  </Xtensive.Orm>

Configure NLog (https://github.com/nlog/nlog/wiki/Tutorial), e.g.:

    <?xml version="1.0" encoding="utf-8" ?>
    <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

      <targets>
        <target name="console" xsi:type="Console" />
      </targets>

      <rules>
        <logger name="Xtensive.Orm" minlevel="Debug" writeTo="console" />
      </rules>
    </nlog>

You can choose from the following predefined internal loggers:

  • "Xtensive.Orm"
  • "Xtensive.Orm.Upgrade"
  • "Xtensive.Orm.Building"
  • "Xtensive.Orm.Core"
  • "Xtensive.Orm.Sql"
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.2.0-Beta-1 113 12/28/2023
7.1.2 109 10/18/2024
7.1.1 191 11/14/2023
7.1.0 252 4/12/2023
7.1.0-RC 118 3/9/2023
7.1.0-Beta-2 132 12/19/2022
7.1.0-Beta-1 140 7/4/2022
7.0.5 101 6/3/2024
7.0.4 109 11/12/2023
7.0.3 498 3/21/2022
7.0.2 462 2/8/2022
7.0.1 372 10/29/2021
7.0.0 375 6/2/2021
6.0.13 126 4/4/2024
6.0.12 131 11/10/2023
6.0.11 327 1/12/2023
6.0.10 463 4/29/2022
6.0.9 481 2/2/2022
6.0.8 424 10/28/2021
6.0.7 410 8/27/2021
6.0.6 422 5/24/2021
6.0.5 460 3/9/2021
6.0.4 483 12/22/2020
6.0.3 490 9/29/2020
6.0.0 660 1/28/2020
5.1.0-Beta-1 963 1/30/2015
5.0.24 422 4/27/2021
5.0.23 465 2/4/2021
5.0.22 568 11/18/2020
5.0.21 512 11/6/2020
5.0.20 625 12/25/2019
5.0.19 657 5/30/2019
5.0.19-Beta-2 448 4/16/2019
5.0.19-Beta-1 593 12/29/2018
5.0.18 844 9/28/2018
5.0.18-Beta-3 678 7/2/2018
5.0.18-Beta-2 775 6/6/2018
5.0.18-Beta-1 827 4/24/2018
5.0.17 1,456 2/27/2018
5.0.17-Beta-3 795 2/12/2018
5.0.17-Beta-2 863 1/12/2018
5.0.17-Beta-1 814 12/28/2017
5.0.16 1,057 12/1/2017
5.0.16-Beta-1 805 9/27/2017
5.0.15 1,139 8/1/2017
5.0.14 1,113 6/19/2017
5.0.13 1,071 3/22/2017
5.0.12 1,110 2/14/2017
5.0.11 1,058 1/25/2017
5.0.11-RC2 809 12/16/2016
5.0.11-RC 1,113 9/20/2016
5.0.10 1,102 8/5/2016
5.0.10-RC 815 6/30/2016
5.0.9 1,344 3/3/2016
5.0.8 1,102 2/15/2016
5.0.7 1,078 1/27/2016
5.0.7-RC2 868 12/8/2015
5.0.7-RC 907 9/10/2015
5.0.6 1,139 7/3/2015
5.0.5 1,351 4/23/2015
5.0.4 1,139 3/19/2015
5.0.4-RC 1,259 2/25/2015
5.0.3 1,756 10/31/2014
5.0.2 1,155 9/11/2014
5.0.0 1,255 8/15/2014
5.0.0-RC2 894 8/1/2014
5.0.0-RC 918 7/21/2014
5.0.0-Beta-3 918 5/28/2014
5.0.0-Beta-2 1,033 2/28/2014