Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nicolascbv/echoguard
NPM package made to help you visualize your logs.
https://github.com/nicolascbv/echoguard
css ejs helper html husky javascript log logger logging npm package pnpm tsup typescript
Last synced: about 2 months ago
JSON representation
NPM package made to help you visualize your logs.
- Host: GitHub
- URL: https://github.com/nicolascbv/echoguard
- Owner: NicolasCBV
- Created: 2023-10-27T15:58:29.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-15T19:18:40.000Z (5 months ago)
- Last Synced: 2024-08-16T21:07:17.422Z (4 months ago)
- Topics: css, ejs, helper, html, husky, javascript, log, logger, logging, npm, package, pnpm, tsup, typescript
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/echoguard
- Size: 649 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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(AppModule);Echo.start({ server: app, appName: "" });
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.