Uploaded image for project: 'Realm Core'
  1. Realm Core
  2. RCORE-1320

Update Logger level threshold to be atomic

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintableJSON

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None

      Update the Logger level threshold to be atomic so it can be modified in a thread-safe manner.

      Also, update the level threshold isn't truly shared between logger instances like it should be. This was somewhat achieved by using the LevelThreshold class reference that was used in the original Logger and subclasses before the changes. This would be a good instance to use a bind_ptr to share the level threshold among logger classes.

            Assignee:
            michael.wilkersonbarker@mongodb.com Michael Wilkerson-Barker (Inactive)
            Reporter:
            michael.wilkersonbarker@mongodb.com Michael Wilkerson-Barker (Inactive)
            Archiver:
            marc.greenfield@mongodb.com Marc Greenfield

              Created:
              Updated:
              Archived: