added logging to a file
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user