Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-4348

Improve logging related class and member names

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.18.0
    • Affects Version/s: None
    • Component/s: None
    • None

      As a general rule class names should not be plural (e.g., string not stringsGuid not Guids) with a few exceptions like XyzSettings.

      Accordingly, I would like to see the following names changed in the new logging code:

      EventsLogger => EventLogger
      StructuredLogsTemplates => StructuredLogTemplate
      LoggingFactory => LoggerFactory (because it returns an ILoggerFactory not an ILoggingFactory)
      EventsPublisher => EventPublisher
      EventsLogsFormattingOptions => EventLogFormattingOptions
      Extentions => Extensions (spelling)
      LogsTemplateProvider => LogTemplateProvider

            Assignee:
            boris.dogadov@mongodb.com Boris Dogadov
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: