Functioncorev0.7.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
): <
HandlerCtor extends Constructor<
WebhookLog<SubscriptionKey, CoreBase>
>
>(
constructor: HandlerCtor
) => voidenvKey
envKey: stringThe environment variable name holding the webhook url