We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a Nim executable dynamically loaded a Nim DLL, logging from the main executable works fine, but nothing is output to stdout from the DLL.
Both the EXE and DLL are compiled with "-d:useNimRtl".
The text was updated successfully, but these errors were encountered:
Further investigation show that the global threadvar 'level' is shared between EXE and DLL, but 'handlers' does not.
Change 'level' in EXE then print it in DLL show that the change does take effect. But 'handlers' is always empty in the DLL.
Sorry, something went wrong.
Try to manually pass the loggers to DLL then addHandler() there, still not working as the multi-method (or RTTI) does not work cross DLL boundary.
Related:
No branches or pull requests
I have a Nim executable dynamically loaded a Nim DLL, logging from the main executable works fine, but nothing is output to stdout from the DLL.
Both the EXE and DLL are compiled with "-d:useNimRtl".
The text was updated successfully, but these errors were encountered: