@globalart/nestjs-logger 2.4.3 → 4.0.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.
- package/dist/index.cjs +1586 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -6
- package/dist/index.d.mts +5 -6
- package/dist/index.mjs +1586 -19
- package/dist/index.mjs.map +1 -1
- package/package.json +11 -14
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference path="operators/index.d.ts" />
|
|
2
2
|
/// <reference path="testing/index.d.ts" />
|
|
3
|
-
import * as _nestjs_common0 from "@nestjs/common";
|
|
4
3
|
import { CallHandler, DynamicModule, ExecutionContext, LoggerService as LoggerService$1, MiddlewareConsumer, NestInterceptor, NestModule, RequestMethod } from "@nestjs/common";
|
|
5
4
|
import { Reflector } from "@nestjs/core";
|
|
6
5
|
|
|
@@ -513,11 +512,11 @@ interface LoggerModuleOptions {
|
|
|
513
512
|
exclude?: ExcludeOption[];
|
|
514
513
|
logRequests?: boolean;
|
|
515
514
|
}
|
|
516
|
-
declare const ConfigurableModuleClass:
|
|
515
|
+
declare const ConfigurableModuleClass: import("@nestjs/common").ConfigurableModuleCls<LoggerModuleOptions, "forRoot", "create", {
|
|
517
516
|
global: boolean;
|
|
518
517
|
}>, MODULE_OPTIONS_TOKEN: string | symbol, OPTIONS_TYPE: LoggerModuleOptions & Partial<{
|
|
519
518
|
global: boolean;
|
|
520
|
-
}>, ASYNC_OPTIONS_TYPE:
|
|
519
|
+
}>, ASYNC_OPTIONS_TYPE: import("@nestjs/common").ConfigurableModuleAsyncOptions<LoggerModuleOptions, "create"> & Partial<{
|
|
521
520
|
global: boolean;
|
|
522
521
|
}>;
|
|
523
522
|
declare class LoggerModule extends ConfigurableModuleClass implements NestModule {
|
|
@@ -536,9 +535,9 @@ declare const LOGGER_METADATA_METADATA: unique symbol;
|
|
|
536
535
|
declare const LOGGER_EXCLUDE_METADATA: unique symbol;
|
|
537
536
|
//#endregion
|
|
538
537
|
//#region src/decorators/index.d.ts
|
|
539
|
-
declare const LogContext: (context: string) =>
|
|
540
|
-
declare const LogMetadata: (metadata: Record<string, unknown>) =>
|
|
541
|
-
declare const ExcludeLogging: () =>
|
|
538
|
+
declare const LogContext: (context: string) => import("@nestjs/common").CustomDecorator<typeof LOGGER_CONTEXT_METADATA>;
|
|
539
|
+
declare const LogMetadata: (metadata: Record<string, unknown>) => import("@nestjs/common").CustomDecorator<typeof LOGGER_METADATA_METADATA>;
|
|
540
|
+
declare const ExcludeLogging: () => import("@nestjs/common").CustomDecorator<typeof LOGGER_EXCLUDE_METADATA>;
|
|
542
541
|
//#endregion
|
|
543
542
|
export { ExcludeLogging, HttpLoggerInterceptor, InjectLogger, LogContext, LogMetadata, LoggerModule, LoggerService, TraceContextService };
|
|
544
543
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference path="operators/index.d.ts" />
|
|
2
2
|
/// <reference path="testing/index.d.ts" />
|
|
3
|
-
import * as _nestjs_common0 from "@nestjs/common";
|
|
4
3
|
import { CallHandler, DynamicModule, ExecutionContext, LoggerService as LoggerService$1, MiddlewareConsumer, NestInterceptor, NestModule, RequestMethod } from "@nestjs/common";
|
|
5
4
|
import { Reflector } from "@nestjs/core";
|
|
6
5
|
|
|
@@ -513,11 +512,11 @@ interface LoggerModuleOptions {
|
|
|
513
512
|
exclude?: ExcludeOption[];
|
|
514
513
|
logRequests?: boolean;
|
|
515
514
|
}
|
|
516
|
-
declare const ConfigurableModuleClass:
|
|
515
|
+
declare const ConfigurableModuleClass: import("@nestjs/common").ConfigurableModuleCls<LoggerModuleOptions, "forRoot", "create", {
|
|
517
516
|
global: boolean;
|
|
518
517
|
}>, MODULE_OPTIONS_TOKEN: string | symbol, OPTIONS_TYPE: LoggerModuleOptions & Partial<{
|
|
519
518
|
global: boolean;
|
|
520
|
-
}>, ASYNC_OPTIONS_TYPE:
|
|
519
|
+
}>, ASYNC_OPTIONS_TYPE: import("@nestjs/common").ConfigurableModuleAsyncOptions<LoggerModuleOptions, "create"> & Partial<{
|
|
521
520
|
global: boolean;
|
|
522
521
|
}>;
|
|
523
522
|
declare class LoggerModule extends ConfigurableModuleClass implements NestModule {
|
|
@@ -536,9 +535,9 @@ declare const LOGGER_METADATA_METADATA: unique symbol;
|
|
|
536
535
|
declare const LOGGER_EXCLUDE_METADATA: unique symbol;
|
|
537
536
|
//#endregion
|
|
538
537
|
//#region src/decorators/index.d.ts
|
|
539
|
-
declare const LogContext: (context: string) =>
|
|
540
|
-
declare const LogMetadata: (metadata: Record<string, unknown>) =>
|
|
541
|
-
declare const ExcludeLogging: () =>
|
|
538
|
+
declare const LogContext: (context: string) => import("@nestjs/common").CustomDecorator<typeof LOGGER_CONTEXT_METADATA>;
|
|
539
|
+
declare const LogMetadata: (metadata: Record<string, unknown>) => import("@nestjs/common").CustomDecorator<typeof LOGGER_METADATA_METADATA>;
|
|
540
|
+
declare const ExcludeLogging: () => import("@nestjs/common").CustomDecorator<typeof LOGGER_EXCLUDE_METADATA>;
|
|
542
541
|
//#endregion
|
|
543
542
|
export { ExcludeLogging, HttpLoggerInterceptor, InjectLogger, LogContext, LogMetadata, LoggerModule, LoggerService, TraceContextService };
|
|
544
543
|
//# sourceMappingURL=index.d.mts.map
|