@viplance/nestjs-logger 0.1.7 → 0.1.8

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 +5 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  ### Installation
8
8
  1. Install the package npm i @viplance/nestjs-logger<br />
9
9
  2. Import the module in app.module.ts<br />
10
- ```
10
+ ```typescript
11
11
  import { LogModule } from '@viplance/nestjs-logger';
12
12
 
13
13
  @Module({
@@ -19,7 +19,8 @@
19
19
  ```
20
20
  <br />
21
21
  3. Connect the module in main.ts<br />
22
- ```
22
+
23
+ ```typescript
23
24
  import { LogModule } from '@viplance/nestjs-logger';
24
25
 
25
26
  await LogModule.connect(app, {
@@ -28,10 +29,10 @@
28
29
  });
29
30
  ```
30
31
 
31
- <br />
32
+
32
33
  Use the database to store logs.
33
34
 
34
- ```
35
+ ```typescript
35
36
  await LogModule.connect(app, {
36
37
  path: '/logs',
37
38
  database: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viplance/nestjs-logger",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "NestJS internal logging system",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",