Functioncorev0.12.0Decorator
WebhookUrl
Declares the environment variable a WebhookLog reporter reads its webhook url from.
An unset variable disables the reporter with a boot warning. A set but malformed value throws at boot.
WebhookUrl(
envKey: string
): <Keys extends SubscriptionKey>(
constructor: Constructor<WebhookLog<Keys, CoreBase>>
) => voidenvKey
envKey: stringThe environment variable name holding the webhook url