minor edit

This commit is contained in:
Trent Mick 2012-10-10 17:15:19 -07:00
parent 79fe9cdd9b
commit 835e9458f7

View file

@ -3,7 +3,7 @@
## bunyan 0.14.3 (not yet released) ## bunyan 0.14.3 (not yet released)
- Improve error serialization to walk the chain of `.cause()` errors - Improve error serialization to walk the chain of `.cause()` errors
from the likes of `WError` or `VError` error classes from the likes of from the likes of `WError` or `VError` error classes from
[verror](https://github.com/davepacheco/node-verror) and [verror](https://github.com/davepacheco/node-verror) and
[restify v2.0](https://github.com/mcavage/node-restify). [restify v2.0](https://github.com/mcavage/node-restify).
@ -42,12 +42,12 @@
- Export `bunyan.resolveLevel(NAME-OR-NUM)` to resolve a level name or number - Export `bunyan.resolveLevel(NAME-OR-NUM)` to resolve a level name or number
to its log level number value: to its log level number value:
> bunyan.resolveLevel('INFO') > bunyan.resolveLevel('INFO')
30 30
> bunyan.resolveLevel('debug') > bunyan.resolveLevel('debug')
20 20
A side-effect of this change is that the uppercase level name is now allowed A side-effect of this change is that the uppercase level name is now allowed
in the logger constructor. in the logger constructor.