How to use the js-logger.info function in js-logger

To help you get started, we’ve selected a few js-logger examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github auryn31 / spring-async-rest-example / reactive-vue / src / main.ts View on Github external
mounted () {
    Logger.log("mounted");

    const loaderVisible = Store.readLoaderVisibility(this.$store);
    Logger.info("loader is visible: ", loaderVisible);
  }
}
github thenickdude / snap-to-s3 / index.js View on Github external
error => {
					if (error instanceof SnapToS3.SnapshotValidationError) {
						Logger.info("");
						
						if (error.successes.length > 0) {
							Logger.info("These snapshots validated successfully:\n" + error.successes.join("\n") + "\n");
						}
						
						Logger.error("These snapshots failed to validate:\n" + Object.keys(error.failures).map(snapshotID => snapshotID + ": " + error.failures[snapshotID]).join("\n\n"));
						process.exitCode = 1;
					} else {
						throw error;
					}
				}
			);
github PixelsCommander / HTML-GL / src / gl-element / index.js View on Github external
onTextureRendered(imageData) {
        this.renderer.setTexture(this, imageData);
        this.rasterizing = false;
        logger.info('Finished rendering', this.node);
    }
github twcapps / vue-typescript-boilerplate / template / src / main.ts View on Github external
mounted () {
    Logger.log("mounted");

    const loaderVisible = Store.readLoaderVisibility(this.$store);
    Logger.info("loader is visible: ", loaderVisible);
  }
}
github PixelsCommander / HTML-GL / src / gl-element / index.js View on Github external
update(updaterName, styleObject) {
        if (this.updaters[updaterName]) {
            logger.info('Updated ' + updaterName + ' on ' + this.node.tagName + '-' + (this.node.id + this.node.className));
            return this.updaters[updaterName].apply(this, [styleObject]);
        }
    }
github thenickdude / snap-to-s3 / index.js View on Github external
successes => {
					if (successes.length === 0) {
						Logger.error("No snapshots to validate (snapshots must have tag \"" + options.tag + "\" set to \"migrated\" to be eligible)");
					} else {
						Logger.info("");
						Logger.info("These snapshots validated successfully:\n" + successes.join("\n"));
					}
				},
				error => {
github PixelsCommander / HTML-GL / src / gl-element / index.js View on Github external
static processChildren(node, rootGLElement) {

        logger.info('Processing child ' + node.tagName + '-' + (node.id || node.className));

        if (!utils.isHTMLNode(node)) {
            return;
        }

        var createdElement = false;

        //Iterate and create glNodes if should be created
        if (helpers.shouldBeGLNode(node)) {

            if (!helpers.isGLNode(node)) {
                new GLElement(node, rootGLElement.settings);
                createdElement = true;
            } else {
                node.GLElement.update('boundingRect');
                node.GLElement.update('transform');