Skip to content


.debug method added #4

merged 1 commit into from

2 participants


While trying to use ain with it was complaining there was no 'debug' method on the logger. So I added one as a mirror of the error method.

@akaspin akaspin merged commit 0189b1d into akaspin:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 18, 2011
  1. @paulbellamy

    Adding a .debug method

    paulbellamy committed
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 0 deletions.
  1. +6 −0 index.js
6 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
Something went wrong with that request. Please try again.