Fixed logger output in Visual Studio

Quick fix to display logger output in the Debug window in Visual Studio