mirror of
https://github.com/Hopiu/webapi-eca.git
synced 2026-03-17 06:20:23 +00:00
32 lines
694 B
JavaScript
32 lines
694 B
JavaScript
|
|
exports.testUnit_LOG = function(test){
|
|
test.ok(true, "log");
|
|
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);
|
|
// };
|