@nest-yalc-2/logger 2.2.1 → 2.2.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nest-yalc-2/logger",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -9,6 +9,14 @@
|
|
|
9
9
|
},
|
|
10
10
|
"author": "Autistic_Intelligence",
|
|
11
11
|
"license": "AGPL-3.0-or-later",
|
|
12
|
+
"keywords": [
|
|
13
|
+
"nestjs",
|
|
14
|
+
"nestjs-yalc",
|
|
15
|
+
"yalc",
|
|
16
|
+
"logger",
|
|
17
|
+
"framework",
|
|
18
|
+
"utility"
|
|
19
|
+
],
|
|
12
20
|
"types": "./src/index.d.ts",
|
|
13
21
|
"files": [
|
|
14
22
|
"src"
|
|
@@ -19,9 +19,9 @@ jest.mock('@nestjs/common', () => ({
|
|
|
19
19
|
Logger: NestLogger,
|
|
20
20
|
}));
|
|
21
21
|
|
|
22
|
-
import { LogLevelEnum, LoggerTypeEnum } from '
|
|
23
|
-
import { NestAppLoggerFactory } from '../logger.factory.js';
|
|
24
|
-
import { PinoLogger } from '
|
|
22
|
+
import { LogLevelEnum, LoggerTypeEnum } from '@node-yalc/logger/logger.enum.js';
|
|
23
|
+
import { AppLoggerFactory as NestAppLoggerFactory } from '../logger.factory.js';
|
|
24
|
+
import { PinoLogger } from '@node-yalc/logger/logger-pino.service.js';
|
|
25
25
|
|
|
26
26
|
describe('NestAppLoggerFactory', () => {
|
|
27
27
|
// let mockConfigService;
|
|
@@ -2,9 +2,9 @@ import { ConsoleLoggerOptions } from '@nestjs/common';
|
|
|
2
2
|
import { IImprovedLoggerOptions, ILoggerPluginMethods, ImprovedLoggerService, LogMethodOptions } from '@node-yalc/logger/logger-abstract.service.js';
|
|
3
3
|
declare const ImprovedNestLogger_base: new (...args: any[]) => {
|
|
4
4
|
[x: string]: any;
|
|
5
|
-
plugins: import("@node-yalc/utils/plugin.helper.js", { with: { "resolution-mode": "import" } }).Plugin<ILoggerPluginMethods<any>>[];
|
|
6
|
-
registerPlugin(plugin: import("@node-yalc/utils/plugin.helper.js", { with: { "resolution-mode": "import" } }).Plugin<ILoggerPluginMethods<any>>): void;
|
|
7
|
-
unregisterPlugin(plugin: import("@node-yalc/utils/plugin.helper.js", { with: { "resolution-mode": "import" } }).Plugin<ILoggerPluginMethods<any>>): void;
|
|
5
|
+
plugins: import("@node-yalc/utils/dist/plugin.helper.js", { with: { "resolution-mode": "import" } }).Plugin<ILoggerPluginMethods<any>>[];
|
|
6
|
+
registerPlugin(plugin: import("@node-yalc/utils/dist/plugin.helper.js", { with: { "resolution-mode": "import" } }).Plugin<ILoggerPluginMethods<any>>): void;
|
|
7
|
+
unregisterPlugin(plugin: import("@node-yalc/utils/dist/plugin.helper.js", { with: { "resolution-mode": "import" } }).Plugin<ILoggerPluginMethods<any>>): void;
|
|
8
8
|
invokePlugins(methodName: keyof ILoggerPluginMethods<any>, ...args: any[]): void;
|
|
9
9
|
};
|
|
10
10
|
export declare class ImprovedNestLogger extends ImprovedNestLogger_base implements ImprovedLoggerService {
|