@loglayer/shared
Advanced tools
+27
-2
@@ -704,5 +704,7 @@ //#region src/common.types.d.ts | ||
| * Replaces all existing transports with new ones while preserving other logger configuration. | ||
| * When used with child loggers, it only affects the current logger instance | ||
| * and does not modify the parent's transports. | ||
| * | ||
| * Transport changes only affect the current logger instance. Child loggers | ||
| * created before the change will retain their original transports, and | ||
| * parent loggers are not affected when a child modifies its transports. | ||
| * | ||
| * @see {@link https://loglayer.dev/logging-api/transport-management.html | Transport Management Docs} | ||
@@ -712,2 +714,25 @@ */ | ||
| /** | ||
| * Adds one or more transports to the existing transports. | ||
| * If a transport with the same ID already exists, it will be replaced. | ||
| * | ||
| * Transport changes only affect the current logger instance. Child loggers | ||
| * created before the change will retain their original transports, and | ||
| * parent loggers are not affected when a child modifies its transports. | ||
| * | ||
| * @see {@link https://loglayer.dev/logging-api/transport-management.html | Transport Management Docs} | ||
| */ | ||
| addTransport(transports: LogLayerTransport | Array<LogLayerTransport>): This; | ||
| /** | ||
| * Removes a transport by its ID. | ||
| * | ||
| * Transport changes only affect the current logger instance. Child loggers | ||
| * created before the change will retain their original transports, and | ||
| * parent loggers are not affected when a child modifies its transports. | ||
| * | ||
| * @returns true if the transport was found and removed, false otherwise. | ||
| * | ||
| * @see {@link https://loglayer.dev/logging-api/transport-management.html | Transport Management Docs} | ||
| */ | ||
| removeTransport(id: string): boolean; | ||
| /** | ||
| * Replaces all existing plugins with new ones. | ||
@@ -714,0 +739,0 @@ * |
+27
-2
@@ -704,5 +704,7 @@ //#region src/common.types.d.ts | ||
| * Replaces all existing transports with new ones while preserving other logger configuration. | ||
| * When used with child loggers, it only affects the current logger instance | ||
| * and does not modify the parent's transports. | ||
| * | ||
| * Transport changes only affect the current logger instance. Child loggers | ||
| * created before the change will retain their original transports, and | ||
| * parent loggers are not affected when a child modifies its transports. | ||
| * | ||
| * @see {@link https://loglayer.dev/logging-api/transport-management.html | Transport Management Docs} | ||
@@ -712,2 +714,25 @@ */ | ||
| /** | ||
| * Adds one or more transports to the existing transports. | ||
| * If a transport with the same ID already exists, it will be replaced. | ||
| * | ||
| * Transport changes only affect the current logger instance. Child loggers | ||
| * created before the change will retain their original transports, and | ||
| * parent loggers are not affected when a child modifies its transports. | ||
| * | ||
| * @see {@link https://loglayer.dev/logging-api/transport-management.html | Transport Management Docs} | ||
| */ | ||
| addTransport(transports: LogLayerTransport | Array<LogLayerTransport>): This; | ||
| /** | ||
| * Removes a transport by its ID. | ||
| * | ||
| * Transport changes only affect the current logger instance. Child loggers | ||
| * created before the change will retain their original transports, and | ||
| * parent loggers are not affected when a child modifies its transports. | ||
| * | ||
| * @returns true if the transport was found and removed, false otherwise. | ||
| * | ||
| * @see {@link https://loglayer.dev/logging-api/transport-management.html | Transport Management Docs} | ||
| */ | ||
| removeTransport(id: string): boolean; | ||
| /** | ||
| * Replaces all existing plugins with new ones. | ||
@@ -714,0 +739,0 @@ * |
+1
-1
| { | ||
| "name": "@loglayer/shared", | ||
| "description": "Shared utilities and types for loglayer packages.", | ||
| "version": "3.1.1", | ||
| "version": "3.2.0", | ||
| "type": "module", | ||
@@ -6,0 +6,0 @@ "main": "./dist/index.cjs", |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
64478
3.81%862
2.99%9
28.57%