Hi!
We found a quick and dirty fix for the issue discribed in viewtopic.php?f=17&t=14829.
That's ok for us, but we want to include some logging so that we are able to see if our customer uses our patched libcef.dlls.
We need to patch the "fpdfview.cc" file (part of thirdparty pdfium; .\chromium\src\third_party\pdfium\fpdfsdk\fpdfview.cpp) and want to add logging in there.
Is there any possibility to use already existing code to write some logging (best would be in logfile passed with "--log-file=myLogfileName.log" parameter out of JCEF)?
Using Chromium/CEFs "base/logging.h" doesn't work because of duplicate makro definitions:
d:\git\cef\2704\chromium\src\third_party\pdfium\third_party\base\logging.h(22): error C2220: Warnung wird als Fehler interpretiert, es wurde keine object-Datei generiert.
d:\git\cef\2704\chromium\src\third_party\pdfium\third_party\base\logging.h(22): warning C4005: "CHECK": Makro-Neudefinition
d:\git\cef\2704\chromium\src\base\logging.h(491): note: Siehe vorherige Definition von "CHECK"
d:\git\cef\2704\chromium\src\third_party\pdfium\third_party\base\logging.h(24): warning C4005: "NOTREACHED": Makro-Neudefinition
d:\git\cef\2704\chromium\src\base\logging.h(736): note: Siehe vorherige Definition von "NOTREACHED"
Thx for the help