Logger->writeToLog(...) problem


I have the most basic app, it uses the Logger class.  This example comes from the book "Getting Started With Juce".  In chapter 3, he has an example of using the Logger class to ouput data to the console. When I run it, nothing is being output to the console. I'm running Win8, 64 bit. All other console apps I've created using vanilla C++, seemed to work fine.  Is there something that the author is missing in this example to get this to output to the console window properly?

BTW, the inclusion of iostream and  the use of cin is my own addition to this, if I don't add it, my app simply runs and closes the window, this is my way of causing the app to pause without using breakpoints.


#include "../JuceLibraryCode/JuceHeader.h"
#include <iostream>
using std::cin;
int main (int argc, char* argv[])
    Logger* log = Logger::getCurrentLogger();
    String message( "Hello World!" );
    log->writeToLog( message );
    int x;
    cin >> x;
    return 0;


Nevermind, I just realized this is not logging to the "console" window, rather the IDE's "output" window. :)