Merge branch 'master' into 0.17

This commit is contained in:
Nick O'Leary
2017-04-10 15:45:21 +01:00
5 changed files with 27 additions and 4 deletions

View File

@@ -246,6 +246,14 @@ Node.prototype.error = function(logMessage,msg) {
}
};
Node.prototype.debug = function(msg) {
log_helper(this, Log.DEBUG, msg);
}
Node.prototype.trace = function(msg) {
log_helper(this, Log.TRACE, msg);
}
/**
* If called with no args, returns whether metric collection is enabled
*/