webapi-eca/testing/old/mod_logging.js
2014-01-13 15:23:06 +01:00

32 lines
712 B
JavaScript

exports.testUnit_LOG = function(test){
test.ok(false, "needs implementation");
test.done();
};
// /*
// * # Logging
// * Functions to funnel logging
// */
//
// // @function print(module, msg)
//
// /*
// * Prints a log to stdout.
// * @param {String} module
// * @param {String} msg
// */
// exports.print = function(module, msg) {
// console.log((new Date()).toISOString() + ' | ' + module + ' | ' + msg);
// };
//
// // @function error(module, msg)
//
// /*
// * Prints a log to stderr.
// * @param {String} module
// * @param {String} msg
// */
// exports.error = function(module, msg) {
// console.error((new Date()).toISOString() + ' | ' + module + ' | ERROR: ' + msg);
// };