Documented stream levels as a severity threshold
This commit is contained in:
parent
0b0ba89aba
commit
f505d28ec3
1 changed files with 4 additions and 4 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue