Members
(static, readonly) levels :string
Bunyan's logging levels.
Type:
- string
Properties:
Name | Type | Description |
---|---|---|
TRACE |
string | |
DEBUG |
string | |
INFO |
string | |
WARN |
string | |
ERROR |
string | |
FATAL |
string |
Methods
(static) createStream(config) → {SplunkBunyanStream}
Creates a Bunyan Stream object with the provided
config
.
Parameters:
Name | Type | Description |
---|---|---|
config |
object | See SplunkStream. |
Returns:
A Bunyan Stream object.
- Type
- SplunkBunyanStream
(static) severityFromLevel(level) → {string}
Translates a Bunyan logging level number to the name of the level.
Parameters:
Name | Type | Description |
---|---|---|
level |
number | A Bunyan logging level integer. See SplunkBunyanLogger.levels |
Returns:
- Type
- string