Add Internal trace logging to common code, shared by engine, framework and nunitlite