Learn how to evaluate and integrate the VNC SDK
Logger¶
Nested Classes¶
Method Summary¶
Modifier and Type | Method and Description |
---|---|
Creates a logger implementation that writes data to the web browser’s debugging console. |
|
Creates a logger implementation that calls the given callback whenever a log message is written. |
|
Destroys any previously created logger. |
|
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: - callback (
vncsdk.Logger.Callback
) –
Throws: vncsdk.VncException
on error- callback (
-
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: - level (
vncsdk.Logger.Level
) –
- level (