[Win] Override node's console and output stream with chromium's logging.

On Window node doesn't outputing as GUI program, so we have to switch to
chromium's implementation. Hacking into node (like what we did before
this commit) would sometimes make the outputing blocked.
This commit is contained in:
Cheng Zhao 2013-07-25 20:06:23 +08:00
parent a163b148ce
commit 2f2cbce9b9
3 changed files with 18 additions and 0 deletions

View file

@ -23,6 +23,7 @@ class AtomBindings {
static v8::Handle<v8::Value> Binding(const v8::Arguments& args);
static v8::Handle<v8::Value> Crash(const v8::Arguments& args);
static v8::Handle<v8::Value> ActivateUVLoop(const v8::Arguments& args);
static v8::Handle<v8::Value> Log(const v8::Arguments& args);
DISALLOW_COPY_AND_ASSIGN(AtomBindings);
};