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

observing the native API logs #23

Open
spaul13 opened this issue Mar 13, 2019 · 1 comment
Open

observing the native API logs #23

spaul13 opened this issue Mar 13, 2019 · 1 comment

Comments

@spaul13
Copy link

spaul13 commented Mar 13, 2019

Can anyone please tell me how can I see the c++ native API's logs in the Unity console?

@kyo8568131
Copy link
Contributor

Hi spaul13,

The native logger is print to txt file.
You could uncomment ENABLE_LOG in the Logger.h to make it work.
To print log in Unity console, you could pass a delegate of Unity logger to native.
For your reference, you could check the following page: https://stackoverflow.com/questions/43732825/use-debug-log-from-c
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants