Methods
createLog(id, options, callbackopt) → {Promise}
Create a log.
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id |
string
|
ID of the log (must be lowercase, alphanumeric) |
|||||||||||||||||||||
options |
Object
|
|
|||||||||||||||||||||
callback |
function
|
<optional> |
|
Returns:
- Type:
-
Promise
deleteLog(log, callbackopt) → {Promise}
Delete a log.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
log |
InsightsLog
|
||
callback |
genericCallbackFunction
|
<optional> |
Returns:
- Type:
-
Promise
getLog(id, callbackopt) → {Promise}
Get a specific log belonging to this app.
Parameters:
Name | Type | Attributes | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
id |
string
|
ID of the log (must be lowercase, alphanumeric) |
||||||||||
callback |
function
|
<optional> |
|
Returns:
- Type:
-
Promise
getLogs(callbackopt) → {Promise}
Get all logs belonging to this app.
Parameters:
Name | Type | Attributes | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
callback |
function
|
<optional> |
|
Returns:
- Type:
-
Promise