0.0.7 • Published 2 years ago

mb-discord-logger-test v0.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years 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

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago