Game Development Community

Logging console output to a file..?

by Bryan Turner · in Torque Game Engine · 03/25/2002 (8:51 pm) · 1 replies

Hello,

Trying to activate the log-to-file feature for the console, but doesn't appear to work.

setLogMode(1);

Gives me a log file, but it's filled with gibberish. Do I need to set some other parameters before the logging is done in text?

Thanks,
--Bryan

#1
03/27/2002 (7:36 pm)
Thought I'd update this, for anyone else that needs logging functionality.

Turns out my original attempt worked, but was overwritten later by a different file, which caused the gibberish output.

So, to turn logging of the console on, type:

setLogMode(1);

Then to turn it off, type:

setLogMode(0);

--Bryan