Allow registration of a TraceListener even when logging is disabled. Fixed #69.