@gus-eip/loggers 1.0.1 → 1.0.3

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.
package/README.md CHANGED
@@ -1,25 +1,25 @@
1
- # @gus-eip/eip-loggers
1
+ # @gus-eip/loggers
2
2
 
3
3
  ## Overview
4
4
 
5
- `@gus-eip/eip-loggers` is a package designed to provide logging functionality for your Node.js applications. It offers integration with various logging services, including CloudWatchLogger.
5
+ `@gus-eip/loggers` is a package designed to provide logging functionality for your Node.js applications. It offers integration with various logging services, including CloudWatchLogger.
6
6
 
7
7
  ## Installation
8
8
 
9
9
  You can install the package via npm:
10
10
 
11
11
  ```bash
12
- npm install @gus-eip/eip-loggers
12
+ npm install @gus-eip/loggers
13
13
  ```
14
14
 
15
15
  ## Usage
16
16
 
17
17
  To use the logger module in your application, follow these steps:
18
18
 
19
- 1. Import `LoggerModule` from `@gus-eip/eip-loggers` inside your module.
19
+ 1. Import `LoggerModule` from `@gus-eip/loggers` inside your module.
20
20
 
21
21
  ```javascript
22
- import { LoggerModule } from '@gus-eip/eip-loggers';
22
+ import { LoggerModule } from '@gus-eip/loggers';
23
23
  ```
24
24
 
25
25
  2. Configure `LoggerModule` in your module by calling the `forRoot` method.
@@ -44,7 +44,7 @@ Ensure you provide the necessary environment variables (`REGION` and `LOGGER_LOG
44
44
 
45
45
  ```javascript
46
46
  import { Module } from '@nestjs/common';
47
- import { LoggerModule } from '@gus-eip/eip-loggers';
47
+ import { LoggerModule } from '@gus-eip/loggers';
48
48
 
49
49
  @Module({
50
50
  imports: [
@@ -31,7 +31,6 @@ let CloudWatchLoggerService = exports.CloudWatchLoggerService = class CloudWatch
31
31
  logStreamName,
32
32
  createLogGroup: true,
33
33
  createLogStream: true,
34
- awsRegion: this.region,
35
34
  level: 'info',
36
35
  });
37
36
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gus-eip/loggers",
3
- "version": "1.0.1",
4
- "description": "",
3
+ "version": "1.0.3",
4
+ "description": "@gus-eip/loggers is a package designed to provide logging functionality for your Node.js applications.",
5
5
  "author": "gus",
6
6
  "readmeFilename": "README.md",
7
7
  "main": "dist/index.js",