added logging to a file

This commit is contained in:
2010-04-08 19:34:57 +02:00
parent 567bb432ef
commit 7c01aaf913
4 changed files with 39 additions and 0 deletions
+1
View File
@@ -23,6 +23,7 @@ int main (int argc, char* argv[]) {
engine.SetView (new asteroids::View);
SetLogPrintLevel (Engine::LogLevelDebug);
Engine::SetLogFilename ("game.log");
if (engine.Init (argc, argv) != 0) {
cout << "Could not start engine!" << endl;