Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

Logger

Method Summary

Modifier and Type Method and Description

createBrowserLogger()

Creates a logger implementation that writes data to the web browser’s debugging console.

createCustomLogger(callback)

Creates a logger implementation that calls the given callback whenever a log message is written.

destroyLogger()

Destroys any previously created logger.

setLevel(level)

Sets the current log level.

Static methods

vncsdk.Logger.createBrowserLogger()

Creates a logger implementation that writes data to the web browser’s debugging console.

For more information, see vnc_Logger_createBrowserLogger().

vncsdk.Logger.createCustomLogger(callback)

Creates a logger implementation that calls the given callback whenever a log message is written.

For more information, see vnc_Logger_createCustomLogger().

Arguments:
Throws:

vncsdk.VncException on error

vncsdk.Logger.destroyLogger()

Destroys any previously created logger.

For more information, see vnc_Logger_destroyLogger().

vncsdk.Logger.setLevel(level)

Sets the current log level.

For more information, see vnc_Logger_setLevel().

Arguments:
×