[Pkg-javascript-commits] [node-ain2] 08/102: Adding a .debug method

Jonas Smedegaard js at moszumanska.debian.org
Tue Apr 29 11:59:45 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository node-ain2.

commit 142d72272731748463c2fda77a21cbdfe9aacb98
Author: Paul Bellamy <paul.a.bellamy at gmail.com>
Date:   Mon Jul 18 15:23:01 2011 +0000

    Adding a .debug method
---
 index.js | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/index.js b/index.js
index a47ca64..4e8e907 100644
--- a/index.js
+++ b/index.js
@@ -190,6 +190,12 @@ SysLogger.prototype.warn = function() {
 SysLogger.prototype.error = function() {
     this._send(format.apply(this, arguments), Severity.err);
 };
+/**
+ * Send log message with debug severity.
+ */
+SysLogger.prototype.debug = function() {
+    this._send(format.apply(this, arguments), Severity.debug);
+};
 
 /**
  * Log object with `util.inspect` with notice severity

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-ain2.git



More information about the Pkg-javascript-commits mailing list