Actually that one has already been fixed, I guess I should edit it out for the example in here also - so no, that’s not the reason there, I’d guess…?
const File logfile("c:\\jucelog.log"); FileLogger* filelogger = new FileLogger(logfile, "welcome", 2000); Logger::setCurrentLogger(filelogger);
Visual Studio and XCode both give an error from the third line of that snippet. XCode says “No type named ‘setCurrentLogger’ in ‘juce::Logger’”, and Visual Studio says:
Edit: confirmed, they think I’m trying to redeclare that Logger::setCurrentLogger() -method
In other news, I got the DBG macro to work finally! I had basically release settings under my debug in the project file, which means that those DBG macros did not get compiled - feeling a bit dumb right now