Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix broken references to `init()`, this changed to `set()` in 8fa275e.

  • Loading branch information...
commit 007bde3fb03742c07b39076e374a4c3c0c121fa5 1 parent 96962a8
@novemberborn novemberborn authored
Showing with 4 additions and 4 deletions.
  1. +2 −2 index.js
  2. +2 −2 readme.md
View
4 index.js
@@ -130,7 +130,7 @@ SysLogger.prototype.setHostname = function(hostname) {
};
/**
- * Get new instance of SysLogger. All arguments is similar as `init`
+ * Get new instance of SysLogger. All arguments is similar as `set`
* @returns {SysLogger}
*/
SysLogger.prototype.get = function() {
@@ -223,5 +223,5 @@ SysLogger.prototype.assert = function(expression) {
};
var logger = new SysLogger();
-logger.init();
+logger.set();
module.exports = logger;
View
4 readme.md
@@ -89,8 +89,8 @@ your messages.
You can set `facility` by `String` or `Number`:
- logger.init('node-test-app', 3);
- logger.init('node-test-app', 'daemon');
+ logger.set('node-test-app', 3);
+ logger.set('node-test-app', 'daemon');
Also you can set `TAG`, `Facility` and `HOSTNAME` separatelly by `setTag`,
`setFacility` and `setHostname` functions. All of them is chainable too.
Please sign in to comment.
Something went wrong with that request. Please try again.