1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-19 01:04:20 +00:00

Windows: Avoid logging ASIO errors to the console twice

This commit is contained in:
ed 2020-01-30 09:31:47 +00:00
parent da2cd2e619
commit 306e793895

View file

@ -43,7 +43,9 @@ namespace ASIODebugging
{
message = "ASIO: " + message;
DBG (message);
Logger::writeToLog (message);
if (Logger::getCurrentLogger() != nullptr)
Logger::writeToLog (message);
}
static void logError (const String& context, long error)