So i’m working on some VST code. I’m having some problems so i need
to debug, howveer i alwas did it the worst way possible (define a function
that writes a string to a file, every call opened and closed the file, non buffered, no formatting, a general bad idea). So i know that JUCE has
DBG defined and it works only in debug builds, but VST DLLs gave no
error stream and the DBG macro writes the stuff to “outer space”, i would
like to write my own macro, i saw some code in:
juce/src/juce_core/basics/juce_PlatformDefs.h but it’s using the Logger class,
is there some way to overload this with a stream defined to a file or a Component, or maybe there is some nicer way to debug VST DLLs.