Make DebugLogger work with Expression trees