Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loguru / std::cout not showing in Windows Recon log #1

Open
ypujante opened this issue Jun 19, 2020 · 0 comments
Open

loguru / std::cout not showing in Windows Recon log #1

ypujante opened this issue Jun 19, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@ypujante
Copy link
Member

I know that loguru and/or writing log statements via std::cout is definitely not part of the RE CMake build system, but I want to keep track of it in case it is (like for example there could be a missing compiler and/or linker flag to fix the problem).

So the issue is that code like this (JukeboxExports.cpp / JBox_Export_CreateNativeObject)

JBOX_TRACE("############### JBOX_TRACE => CreateNativeObject / Instance");
DLOG_F(INFO, "############### DLOG_F CreateNativeObject / Instance");
#if LOCAL_NATIVE_BUILD
std::cout << "############### std::cout CreateNativeObject / Instance" << std::endl;
#endif

when compiled with the native toolchain produces 3 lines of output in Recon on macOS but only 1 (the JBOX_TRACE) in Recon on Windows.

This is what the output looks like on macOS

0x0 20200604-104339.175 /Volumes/Development/local/re-test-plugin/src/cpp/JukeboxExports.cpp:17 - ############### JBOX_TRACE => CreateNativeObject / Instance
2020-06-04 10:43:39.175 (  48.299s) [           13179]     JukeboxExports.cpp:18    INFO| ############### DLOG_F CreateNativeObject / Instance
############### std::cout CreateNativeObject / Instance
@ypujante ypujante added the bug Something isn't working label Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant