@bmunkhold suggested a refactoring of the old tracing/logging system.