Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-788

Fix "Common.Logging.LogManager.GetCurrentClassLogger()' is obsolete" compiler warning

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 2.0.2
    • 2.0.2
    • library
    • None

    Description

      After the update from Common.Logging 2.0 to 3.0, the following compiler warning appears:

      'Common.Logging.LogManager.GetCurrentClassLogger()' is obsolete: 'Null-Reference Exception when dealing with Dynamic Types, Prefer instead one of the LogManager.GetLogger(...) variants.

      This should be addressed by changing the code to use the newer API as suggested.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jmorris Jeff Morris
            jmorris Jeff Morris
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty