Wikitude ARchitect v2.0 API Documentation

Wikitude ARchitect > AR > logger
Filters

static Class logger

logger allows logging of messages, which will then be printed in the ARchitect Logging Console.

The Singleton instance of the logger class will automatically be created on World startup and can be accessed via AR.logger.

Methods

activateDebugMode

void activateDebugMode ( )
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.
Returns: void

debug

void debug ( message )
Will log a debug message on the console.
Parameters:
message <string> The debug message to be logged.
Returns: void

error

void error ( message )
Will log an error message to the console.
Parameters:
message <string> The error message to be logged.
Returns: void

info

void info ( message )
Will log an info message on the console.
Parameters:
message <string> The info message to be logged.
Returns: void

warning

void warning ( message )
Will log a warning message to the console.
Parameters:
message <string> The warning message to be logged.
Returns: void


Copyright © 2013 Wikitude GmbH. All rights reserved.