Methods
logger(namespace) → {DebugLogger}
Builds a logger and returns it
Parameters:
| Name | Type | Description | 
|---|---|---|
| namespace | string | The namespace to use for logging | 
- Source:
Returns:
A logger
- Type
- DebugLogger
shortCircuitPipeline(…fns) → {void}
Method to handle sequential tasks that all act on the same value, short circuiting when one returns true
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
| fns | Array.<function()> | <repeatable> | Array of functions to run over single value | 
- Source:
Returns:
Nothing
- Type
- void
(async) startStatusIndicator(output)
Start the status indicator
Parameters:
| Name | Type | Description | 
|---|---|---|
| output | string | The message to continue printing | 
- Source:
stopStatusIndicator()
Stop the status indicator
- Source:
writeStatusOutput(output)
Method to write to stdout such that it can be cleared later
Parameters:
| Name | Type | Description | 
|---|---|---|
| output | string | What to post to stdout | 
- Source:
Type Definitions
DebugLogger
- Source:
- See:
DynamoCredentials
Type:
- object
Properties:
| Name | Type | Description | 
|---|---|---|
| accessKeyId | string | The access ID for your dynamo table | 
| secretAccessKey | string | The access key for your dynamo table | 
- Source: