0.1.1 • Published 3 months ago

@montebravo.tech/mb-discord-logger v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 months 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.1.1

3 months ago

0.1.0

6 months ago

0.0.9

12 months ago

0.0.8

12 months ago