Documented stream levels as a severity threshold

This commit is contained in:
Alex Ray 2015-12-04 17:34:22 -08:00 committed by Trent Mick
parent 0b0ba89aba
commit f505d28ec3

View file

@ -711,10 +711,10 @@ var log = bunyan.createLogger({
<td>level</td>
<td>No</td>
<td>info</td>
<td>The level at which logging to this stream is enabled. If not
<td>The level to which logging to this stream is enabled. If not
specified it defaults to "info". If specified this can be one of the
level strings ("trace", "debug", ...) or constants (`bunyan.TRACE`,
`bunyan.DEBUG`, ...).</td>
`bunyan.DEBUG`, ...). This serves as a severity threshold for that stream so logs of greater severity will also pass through (i.e. If level="warn", error and fatal will also pass through this stream)</td>
</tr>
<tr>
<td>name</td>
@ -765,10 +765,10 @@ var log = bunyan.createLogger({
<td>level</td>
<td>No</td>
<td>info</td>
<td>The level at which logging to this stream is enabled. If not
<td>The level to which logging to this stream is enabled. If not
specified it defaults to "info". If specified this can be one of the
level strings ("trace", "debug", ...) or constants (`bunyan.TRACE`,
`bunyan.DEBUG`, ...).</td>
`bunyan.DEBUG`, ...). This serves as a severity threshold for that stream so logs of greater severity will also pass through (i.e. If level="warn", error and fatal will also pass through this stream)</td>
</tr>
<tr>
<td>name</td>