Extends
Members
(static) dependencies :Array.<string>
Class dependencies:
['log.level']
.
engine :*
- Source:
- Inherited From:
Current engine accessor.
Methods
(async, abstract) log(level, message, contextopt)
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)
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.