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 |
|
Creates a logger implementation that calls the given callback whenever a log message is written. |
|
Creates a logger that writes data to the specified log file. |
|
Destroys any previously created logger. |
|
Sets the current log level. |
Static methods¶
-
static
vncsdk.Logger.
create_stderr_logger
()¶ Creates a logger implementation that writes data to
sys.stderr
.This destroys any previously-created logger.
-
vncsdk.Logger.
create_custom_logger
(callback)¶ Creates a logger implementation that calls the given callback whenever a log message is written.
For more information, see
vnc_Logger_createCustomLogger()
.Parameters: callback ( vncsdk.Logger.Callback
) –
-
vncsdk.Logger.
create_file_logger
(path)¶ Creates a logger that writes data to the specified log file.
For more information, see
vnc_Logger_createFileLogger()
.Parameters: path (str) –
-
vncsdk.Logger.
destroy_logger
()¶ Destroys any previously created logger.
For more information, see
vnc_Logger_destroyLogger()
.
-
vncsdk.Logger.
set_level
(level)¶ Sets the current log level.
For more information, see
vnc_Logger_setLevel()
.Parameters: level ( vncsdk.Logger.Level
) –