"Show Debug Log" in AudioPluginHost

What does “Show Debug Log” do in the AudioPluginHost? It doesn’t seem to have outputs from DBG in it. What do I put in my code to have the plugin output stuff here?