allow pass logger to debug rendering