Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

how native integration Plug-in log information

0 votes

Hi, is there any place for plugin to log information?

We are creating native integration effect plugin, It needs to login to web server, which takes time. Before login completed, the plugin does not work properly. 
We want to log some information to users like "login start", "login complete". Or is there any other suggest?
 

Thank you.

asked Apr 13, 2022 in General Discussion by Siyao H. (140 points)

1 Answer

+1 vote
 
Best answer
You can use the PostMonitorMessage method provided by AK::IAkEffectPluginContext to log a message that will appear in the Capture Log when connected to Wwise.
To avoid running this code in Release configuration, you can put it inside an #ifndef AK_OPTIMIZED ... #endif.

SDK Reference of PostMonitorMessage: https://www.audiokinetic.com/library/edge/?source=SDK&id=class_a_k_1_1_i_ak_plugin_context_base_a0a546e54d0b286da2a28da3ab606b067.html
answered Apr 13, 2022 by Samuel L. (Audiokinetic) (23,220 points)
selected Apr 14, 2022 by Siyao H.
Thank you! It works great!
...