Print a version header on logs and console output

This commit is contained in:
Cameron Gutman
2018-10-23 17:36:48 -07:00
parent e8c39d1919
commit d9320bed7d
5 changed files with 21 additions and 6 deletions

View File

@@ -11,6 +11,8 @@
#include <assert.h>
#include <stdlib.h>
#include "..\version.h"
#pragma comment(lib, "miniupnpc.lib")
#pragma comment(lib, "libnatpmp.lib")
#pragma comment(lib, "ws2_32.lib")
@@ -548,6 +550,9 @@ void ResetLogFile()
// Redirect stdout to this new file
freopen(currentLogFilePath, "w", stdout);
// Print a log header
printf("Moonlight Internet Streaming Service v" VER_VERSION_STR NL);
}
DWORD WINAPI GameStreamStateChangeThread(PVOID Context)