Extends
Members
(static) dependencies :Array.<string>
Class dependencies:
['app', 'log.level']
.
config :object
- Source:
- Inherited From:
Driver configuration.
engine :*
- Source:
- Inherited From:
Current engine accessor.
Methods
(async) log(level, message, contextopt)
- Source:
- Overrides:
Log message with context for a given level.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
level |
number | The log level. | |
message |
string | The message. | |
context |
* |
<optional> |
The context. |
Returns:
The async process promise.
- Type
- Promise
setConfig(config)
- Source:
- Inherited From:
Set configuration for the channel.
Parameters:
Name | Type | Description |
---|---|---|
config |
object | The driver configuration. |
Returns:
The current driver instance.
setEngine(engine)
- Source:
- Inherited From:
Set current engine.
Parameters:
Name | Type | Description |
---|---|---|
engine |
* | The engine instance. |
Returns:
The current instance.