Type Definitions
ClientOptions
- Source:
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
baseURL |
string | endpoint URL |
|
schema |
string |
<optional> |
schema ID, optional |
token |
string |
<optional> |
auth token, use API key instead, optional |
app |
string |
<optional> |
app name (format: 'ownerName/appName'), optional |
key |
string |
<optional> |
api KEY, required if no token supplied |
logLevel |
string | number |
<optional> |
minimal log level, default: 'LOG' |
Hoctail client constructor options
Type:
- object
LoggerFunction(…args) → {void}
- Source:
User supplied callback to print logs
Can use console.log
in most cases
It's a noop by default if not supplied (no logging)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
args |
* |
<repeatable> |
arguments to print out |
Returns:
- Type
- void