SAP-BTP-Spielwiese/app1/node_modules/agentkeepalive/lib/utils.js
Markus Rettig 775ac7b58c completed step 3 from the tutorial
you must login with an BTP account in order to see the app
2024-02-08 16:13:36 +01:00

31 lines
605 B
JavaScript

/**
* Copyright(c) node-modules and other contributors.
* MIT Licensed
*
* Authors:
* fengmk2 <m@fengmk2.com> (http://fengmk2.com)
*/
'use strict';
/**
* Module dependencies.
*/
var util = require('util');
var debug;
var node10 = process.version.indexOf('v0.10.') === 0;
if (node10) {
debug = function () {
if (process.env.NODE_DEBUG && /agentkeepalive/.test(process.env.NODE_DEBUG)) {
console.log.apply(console.log, arguments);
}
};
} else {
debug = util.debuglog('agentkeepalive');
}
exports.debug = debug;
exports.isNode10 = node10;
exports.inherits = util.inherits;