Methods
(inner) CONF() → {Object}
Returns default addon conf
Returns:
- Type
- Object
(inner) ensureLogMessage(obj) → {object}
Function to ensure that the the sentry `msg` field exists on the log object.
Parameters:
Name | Type | Description |
---|---|---|
obj |
object | sentry log object |
Returns:
obj input object
- Type
- object
(inner) ENV() → {Array}
Returns sentry environment mappings
Returns:
environment mappings
- Type
- Array
Example
`SENTRY_DSN` => `SENTRY_DSN`
(inner) LOG_STREAM(conf) → {Array.<BunyanStreamDefinition>}
Returns addon log streams builder function
Parameters:
Name | Type | Description |
---|---|---|
conf |
external:Config |
Returns:
bunyan stream definitions
- Type
- Array.<BunyanStreamDefinition>
Type Definitions
BunyanStreamDefinition
Result of input reading
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
level |
number | log level |
stream |
Object | object where write function sends incoming messages to sentry via raven |