Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

Loggin'JS - Remote Notifier

node v10.24.1
version: 1.0.0
endpointsharetweet
const loggin = require('loggin-js');
Create a remote logger, sends http POST request to a specified url This test uses https://webhook.site for testing the request, you can go there and generate a url.
let logger = loggin.logger('remote', { host: 'webhook.site', path: '58a91d3d-fb86-449d-98ca-3710e0867e6f', protocol: 'http' });
Now logger will notify to that endpoint.
logger.debug('Hey');
Loading…

no comments

    sign in to comment