1
0

Dokan logging

This commit is contained in:
Scott E. Graves
2017-03-24 16:54:52 -05:00
parent 3b61b53fd1
commit f6669f7f18
3 changed files with 2 additions and 5 deletions

BIN
3rd_party/vc_redist.x64.exe vendored Normal file

Binary file not shown.

View File

@@ -17,6 +17,7 @@ int APIENTRY wWinMain(HINSTANCE hInstance,
{
UNREFERENCED_PARAMETER(hPrevInstance);
UNREFERENCED_PARAMETER(lpCmdLine);
CefEnableHighDPISupport();
CefMainArgs mainArgs(hInstance);
@@ -29,12 +30,8 @@ int APIENTRY wWinMain(HINSTANCE hInstance,
CefSettings settings;
settings.no_sandbox = true;
settings.remote_debugging_port = 8080;
// HACK When logging is enabled, drive access is really slow
FilePath("Debug.log").DeleteFile();
#ifdef _DEBUG
settings.single_process = true;
#else
settings.log_severity = LOGSEVERITY_DISABLE;
#endif
CefInitialize(mainArgs, settings, app, nullptr);

View File

@@ -871,7 +871,7 @@ public:
_dokanOptions.Version = DOKAN_VERSION;
_dokanOptions.ThreadCount = 0; // use default
#ifdef _DEBUG
_dokanOptions.Options = DOKAN_OPTION_DEBUG;
_dokanOptions.Options = DOKAN_OPTION_DEBUG | DOKAN_OPTION_DEBUG_LOG;
#endif
}