0.0.7-alpha • Published 7 months ago

echoguard v0.0.7-alpha

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Echoguard

Welcome to the echoguard! This package was made to help you monitor your logs in development mode in nestjs applications!

USAGE

Start your nestjs application and insert your server instance + the name of your application in this method below:

const app: NestExpressApplication =
await NestFactory.create<NestExpressApplication>(AppModule);

Echo.start({ server: app, appName: "<THE NAME OF YOUR APP>" });

await app.listen(3000);

After that, you will have one database installed on the root of your project, be sure to ignore that in your gitignore file. With this in mind, now you can create your logs as you need them using this method below:

Echo.create({
    name: 'some log',
    level: Logger.LogsLevelEnum.[THE LEVEL OF YOUR LOG],
    layer: 'where this log was launched (optional)',
    description: 'the description of this log'
});

Every time you access /logs, you will see all the logs created by this method.

0.0.7-alpha

7 months ago

0.0.7

7 months ago

0.0.6

7 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago