This makes the code a bit better, as it makes these odd indirections
(pointer to interface) unnecessary, and fixes one logger call
that happens inside New() before caller has any chance to initialize
DebugLogger.
Unfortunately, this change is backward incompatible from API standpoint.
This makes the code a bit better, as it makes these odd indirections (pointer to interface) unnecessary, and fixes one logger call that happens inside New() before caller has any chance to initialize DebugLogger.
Unfortunately, this change is backward incompatible from API standpoint.