Skip to content

Commit 10d8bd0

Browse files
authored
Separate log files for server and client (#52)
1 parent 40e573d commit 10d8bd0

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

apps/client/src/Main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ void InitPre() // initialize before engine inits
2727
App.background_wait=0; // no delay when in background
2828

2929
App.name("Client");
30+
LogName("log_client.txt");
3031

3132
INIT(); // call auto-generated function that will set up application name, load engine and project data
3233
LogConsole(true);

apps/server/src/Main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ void InitPre() // initialize before engine inits
2222
App.background_wait=0; // no delay when in background
2323

2424
App.name("Server");
25+
LogName("log_server.txt");
2526
INIT(); // call auto-generated function that will set up application name, load engine and project data
2627
LogConsole(true);
2728
LogN(S+"InitPre()");

0 commit comments

Comments
 (0)