Changes between and of Version 1Version 2Ticket #9680
- Timestamp:
- 07/30/19 20:33:36 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #9680 – Description
v1 v2 8 8 As a first step, stop creating a new instance of the Logger, and instead set the namespace, source, and observer attributes on the existing Logger instance. This will be sufficient for purposes of stemming the object creation tide, but will still be doing pointless work, in that the namespace, source, and observer never change. 9 9 10 As a second step, add an internal flag to the Logger class, which the __get__method can check to see if it has already configured the Logger instance.10 As a second step, add an internal flag to the Logger class, which the "__get__" method can check to see if it has already configured the Logger instance.