ViveSoftware / ViveMediaDecoder

A high performance video decoding Unity plugin for Windows.
http://u3d.as/usf
Other
129 stars 36 forks source link

observing the native API logs #23

Open spaul13 opened 5 years ago

spaul13 commented 5 years ago

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

kyo8568131 commented 5 years ago

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.