0.0.7 • Published 1 year ago

mb-discord-logger-test v0.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

This package publishes stderr to a Discord thread.

To do so, it expects the following environment variables to be set:

DISCORD_WEBHOOK_URL=\ DISCORD_THREAD_ID=\ APP_ENV=

*APP_ENV prepends the logs and is supposed to indicate something like "development", "staging", "production", etc.

Usage

import { hookDiscordLoggingToStderr } from 'mb-discord-logger-test';

hookDiscordLoggingToStderr()

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago