Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-20569

.NET: Thin 3.0: Revise logging

    XMLWordPrintableJSON

Details

    • .NET: Use Microsoft.Extensions.Logging APIs for logging.
    • Docs Required, Release Notes Required

    Description

      .NET client in Ignite 3.x uses custom IIgniteLogger interface. This approach is copied from 2.x client; it is outdated and inefficient.

      Revise it:

      • Should we add a dependency on Microsoft.Extensions.Logging.Abstractions, and use standard ILogger instead (accept ILoggerFactory in config)?
      • Without that, how do we support structured logging, templates, code-generated loggers?
      • How do we integrate with popular loggers? With ILogger it comes out of the box.

      See Logging guidance for .NET library authors: https://learn.microsoft.com/en-us/dotnet/core/extensions/logging-library-authors

      Attachments

        Issue Links

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              ptupitsyn Pavel Tupitsyn
              Igor Sapego Igor Sapego
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m