0.1.8 • Published 4 years ago

debut-plugin-log v0.1.8

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

Logging plugin for Debut/Community Edition

Simple plugin shows executed orders in console.

Install

npm install debut-plugin-log

Usage

meta.ts

import { logPlugin } from 'debut-plugin-log';

// ...

if (env === WorkingEnv.genetic) {
    bot.registerPlugins([geneticShutdownPlugin(cfg.interval)]);
} else if (env === WorkingEnv.tester) {
    bot.registerPlugins([reportPlugin()]);
    bot.plugins.report.addIndicators(bot.getIndicators());
} else if (env === WorkingEnv.production) {
    // Log in production
    bot.registerPlugins([debugPlugin(), logPlugin()]);
}

// ...
0.1.8

4 years ago

0.1.7

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago