minor edit
This commit is contained in:
parent
79fe9cdd9b
commit
835e9458f7
1 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue