UNPKG

kurento-group-call

Version:

Simple javascript library used to initiate a group call (many to many video and audio call) using Kurento Media Server

31 lines (24 loc) 713 B
/* var winston = require('winston'); var logger = new (winston.Logger)({ transports: [ new (winston.transports.Console)({ json: false, timestamp: true }), new winston.transports.File({ filename: __dirname + '/debug.log', json: false }) ], exceptionHandlers: [ new (winston.transports.Console)({ json: false, timestamp: true }), new winston.transports.File({ filename: __dirname + '/exceptions.log', json: false }) ], exitOnError: false }); */ 'use strict'; function Logger() {} Logger.prototype.info = function (s) { console.log(s); }; Logger.prototype.error = function (s) { console.log(s); }; var logger = new Logger(); module.exports = logger;