readme tweaks

This commit is contained in:
Trent Mick 2012-03-27 23:00:45 -07:00
parent c8fe8dac34
commit 8b3bdef4a9
2 changed files with 7 additions and 2 deletions

View file

@ -23,7 +23,7 @@ versioncheck:
.PHONY: cutarelease .PHONY: cutarelease
cutarelease: versioncheck cutarelease: versioncheck
[[ ! -d tmp ]] # No 'tmp/' allowed: https://github.com/isaacs/npm/issues/2144 [[ ! -d tmp ]] # No 'tmp/' allowed: https://github.com/isaacs/npm/issues/2144 (fixed in npm 1.1.12 / node 0.6.14 I think)
./tools/cutarelease.py -p bunyan -f package.json -f lib/bunyan.js -f bin/bunyan ./tools/cutarelease.py -p bunyan -f package.json -f lib/bunyan.js -f bin/bunyan
.PHONY: test .PHONY: test

View file

@ -16,6 +16,11 @@ Currently supports node 0.4+, but I'll probably make the jump to node 0.6+ as a
base soonish. base soonish.
# Installation
npm install bunyan
# Usage # Usage
**The usual.** All loggers must provide a "name". This is somewhat akin **The usual.** All loggers must provide a "name". This is somewhat akin
@ -386,7 +391,7 @@ to a log4j Appender). Ultimately Bunyan uses a
[Writable Stream](http://nodejs.org/docs/latest/api/all.html#writable_Stream) [Writable Stream](http://nodejs.org/docs/latest/api/all.html#writable_Stream)
interface, but there are some additional attributes used to create and interface, but there are some additional attributes used to create and
manage the stream. A Bunyan Logger instance has one or more streams. manage the stream. A Bunyan Logger instance has one or more streams.
General streams are specified with the "streams" option: In general streams are specified with the "streams" option:
var Logger = require('bunyan'); var Logger = require('bunyan');
var log = new Logger({ var log = new Logger({