Closed
Description
hierarchicalLoggingEnabled
, recordStackTraceAtLevel
, _rootLevel
(and also the _loggers
static field) are all global which makes testing code that uses global loggers difficult.
A solution could be to use expandos that are keyed to a zone environment variable for the 'global' logging state. This would make it easy to decouple tests.