jet-logger 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -114,7 +114,7 @@ const customSend: TCustomLogger = (timestamp: Date, level: string, content: any)
114
114
  }
115
115
 
116
116
  router.get('api/users', async (req: Request, res: Reponse) => {
117
- const logger = new Logger(LoggerModes.CUSTOM, '', true, customSend);
117
+ const logger = JetLogger(LoggerModes.CUSTOM, '', true, customSend);
118
118
  logger.rmTimestamp = true;
119
119
  logger.info(req.params.msg);
120
120
  return res.status(OK).json({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jet-logger",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "A super quick, easy to setup logging tool for NodeJS/TypeScript.",
5
5
  "main": "./lib/index.js",
6
6
  "typings": "./lib/index.d.ts",