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 115 12/28/2023
7.1.2 111 10/18/2024
7.1.1 193 11/14/2023
7.1.0 254 4/12/2023
7.1.0-RC 120 3/9/2023
7.1.0-Beta-2 134 12/19/2022
7.1.0-Beta-1 142 7/4/2022
7.0.5 103 6/3/2024
7.0.4 111 11/12/2023
7.0.3 500 3/21/2022
7.0.2 464 2/8/2022
7.0.1 374 10/29/2021
7.0.0 377 6/2/2021
6.0.13 128 4/4/2024
6.0.12 133 11/10/2023
6.0.11 329 1/12/2023
6.0.10 465 4/29/2022
6.0.9 483 2/2/2022
6.0.8 426 10/28/2021
6.0.7 412 8/27/2021
6.0.6 424 5/24/2021
6.0.5 462 3/9/2021
6.0.4 485 12/22/2020
6.0.3 492 9/29/2020
6.0.0 662 1/28/2020
5.1.0-Beta-1 965 1/30/2015
5.0.24 424 4/27/2021
5.0.23 467 2/4/2021
5.0.22 570 11/18/2020
5.0.21 514 11/6/2020
5.0.20 627 12/25/2019
5.0.19 659 5/30/2019
5.0.19-Beta-2 450 4/16/2019
5.0.19-Beta-1 595 12/29/2018
5.0.18 846 9/28/2018
5.0.18-Beta-3 680 7/2/2018
5.0.18-Beta-2 777 6/6/2018
5.0.18-Beta-1 829 4/24/2018
5.0.17 1,458 2/27/2018
5.0.17-Beta-3 797 2/12/2018
5.0.17-Beta-2 865 1/12/2018
5.0.17-Beta-1 816 12/28/2017
5.0.16 1,059 12/1/2017
5.0.16-Beta-1 807 9/27/2017
5.0.15 1,141 8/1/2017
5.0.14 1,115 6/19/2017
5.0.13 1,073 3/22/2017
5.0.12 1,112 2/14/2017
5.0.11 1,060 1/25/2017
5.0.11-RC2 811 12/16/2016
5.0.11-RC 1,115 9/20/2016
5.0.10 1,104 8/5/2016
5.0.10-RC 817 6/30/2016
5.0.9 1,346 3/3/2016
5.0.8 1,104 2/15/2016
5.0.7 1,080 1/27/2016
5.0.7-RC2 870 12/8/2015
5.0.7-RC 909 9/10/2015
5.0.6 1,141 7/3/2015
5.0.5 1,353 4/23/2015
5.0.4 1,141 3/19/2015
5.0.4-RC 1,261 2/25/2015
5.0.3 1,758 10/31/2014
5.0.2 1,157 9/11/2014
5.0.0 1,257 8/15/2014
5.0.0-RC2 896 8/1/2014
5.0.0-RC 920 7/21/2014
5.0.0-Beta-3 920 5/28/2014
5.0.0-Beta-2 1,035 2/28/2014