Start a new topic

logger

logger


Accroding to the SDK reference on logger, activateDebugMode is supposed to do this: "Calling this function enables the debug console. A button will appear on the bottom of the screen, allowing the developer to open the debug console."

But I don't see any button at the bottom. Will this console appear as a window in the device? Is there any other documentation on how to use the logger?

Thx

K. Ramesh

you will need to call AR.context.activateDebugMode(); Once this has been called an orange triangle appears in the bottom right corner. Clicking it opens the console. Calling any of the AR.logger functions logs a message to one of the log levels (info, debug, warning, error).

Logger documentation can be found in the JS API Reference and in the SDK Documentation both included with the SDK package. 

 

 
Login or Signup to post a comment