[Pkg-javascript-commits] [node-ain2] 17/102: updating readme

Jonas Smedegaard js at moszumanska.debian.org
Tue Apr 29 11:59:46 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 76b0378941d89ca0196d91fafee28efa3a16d1d4
Author: Patrick Huesler <patrick.huesler at gmail.com>
Date:   Tue Aug 16 18:49:52 2011 +0200

    updating readme
---
 readme.md | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/readme.md b/readme.md
index 771d069..f361af4 100644
--- a/readme.md
+++ b/readme.md
@@ -22,7 +22,7 @@ systems and logging daemons settings and paths may differ.
 You can install *ain* as usual - by copy "ain" directory in your 
 `~/.node_libraries` or via *npm*
 
-    npm install ain
+    npm install ain2
 
 ## Usage
 
@@ -48,11 +48,12 @@ By default *ain* sets following destinations:
 * `TAG` - `__filename`
 * `Facility` - user (1)
 * `HOSTNAME` - localhost
+* `HOSTNAME` - 514
 
 You can change them by `set` function. `set` function is chainable.
 
     var logger = require('ain')
-            .set('node-test-app', 'daemon', 'devhost');
+            .set('node-test-app', 'daemon', 'devhost', 3000);
     logger.warn('some warning');
     
 ... and in `/var/log/daemon.log`:

-- 
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