implemented logging property

This commit is contained in:
Alt, Michael 2019-12-17 14:56:46 +01:00
parent 7f0e554dea
commit 9c6bad2bc1
2 changed files with 3 additions and 3 deletions

View File

@ -44,8 +44,6 @@ export default class RFB extends EventTargetMixin {
super();
Log.init_logging('info');
this._target = target;
this._url = url;
@ -284,6 +282,8 @@ export default class RFB extends EventTargetMixin {
set rotate(rotate) { this._rotate = rotate; }
get scale() { return this._scale; }
set scale(scale) { this._scale = scale; }
set logLevel(level) { Log.init_logging(level); }
get logLevel() { return Log.get_logging; }
get clipViewport() { return this._clipViewport; }
set clipViewport(viewport) {

View File

@ -1,6 +1,6 @@
{
"name": "@gbrehmer/novnc",
"version": "1.1.0-patch13",
"version": "1.1.0-patch14",
"description": "An HTML5 VNC client",
"browser": "lib/rfb",
"directories": {