@effect-aws/powertools-logger
Advanced tools
Comparing version 1.0.0 to 1.0.1
# @effect-aws/powertools-logger | ||
## 1.0.1 | ||
### Patch Changes | ||
- [#29](https://github.com/floydspace/effect-aws/pull/29) [`4b6c521`](https://github.com/floydspace/effect-aws/commit/4b6c521206c8ff76ff878938f6b90ee474cc8da2) Thanks [@godu](https://github.com/godu)! - improve tree shaking by using sideEffects flag | ||
## 1.0.0 | ||
@@ -4,0 +10,0 @@ |
@@ -15,2 +15,4 @@ import { Cause, Effect, FiberId, FiberRef, FiberRefs, HashMap, Layer, List, Logger as Log, LogLevel, } from "effect"; | ||
* It prints a log item with level DEBUG. | ||
* @since 1.0.0 | ||
* @category logging | ||
*/ | ||
@@ -21,2 +23,4 @@ export const logDebug = processLog(Effect.logDebug); | ||
* It prints a log item with level INFO. | ||
* @since 1.0.0 | ||
* @category logging | ||
*/ | ||
@@ -27,2 +31,4 @@ export const logInfo = processLog(Effect.logInfo); | ||
* It prints a log item with level WARN. | ||
* @since 1.0.0 | ||
* @category logging | ||
*/ | ||
@@ -33,2 +39,4 @@ export const logWarning = processLog(Effect.logWarning); | ||
* It prints a log item with level ERROR. | ||
* @since 1.0.0 | ||
* @category logging | ||
*/ | ||
@@ -39,2 +47,4 @@ export const logError = processLog(Effect.logError); | ||
* It prints a log item with level CRITICAL. | ||
* @since 1.0.0 | ||
* @category logging | ||
*/ | ||
@@ -45,2 +55,4 @@ export const logFatal = processLog(Effect.logFatal); | ||
* It prints a log item with level CRITICAL. | ||
* @since 1.0.0 | ||
* @category logging | ||
* @alias logFatal | ||
@@ -98,2 +110,2 @@ */ | ||
export const DefaultPowerToolsLoggerLayer = PowerToolsLoggerLayer.pipe(Layer.provide(DefaultLoggerOptionsLayer)); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTG9nZ2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL0xvZ2dlci50cyJdLCJu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LnByb3ZpZGUoRGVmYXVsdExvZ2dlck9wdGlvbnNMYXllciksXG4pO1xuIl19 |
@@ -0,1 +1,4 @@ | ||
/** | ||
* @since 1.0.0 | ||
*/ | ||
import { Logger } from "@aws-lambda-powertools/logger"; | ||
@@ -21,2 +24,2 @@ import * as Context from "effect/Context"; | ||
export const DefaultLoggerInstanceLayer = Layer.provide(DefaultLoggerOptionsLayer, LoggerInstanceLayer); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTG9nZ2VySW5zdGFuY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvTG9nZ2VySW5zdGFuY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQ3ZELE9BQU8sS0FBSyxPQUFPLE1BQU0sZ0JBQWdCLENBQUM7QUFDMUMsT0FBTyxLQUFLLE1BQU0sTUFBTSxlQUFlLENBQUM7QUFDeEMsT0FBTyxLQUFLLEtBQUssTUFBTSxjQUFjLENBQUM7QUFDdEMsT0FBTyxFQUFFLHlCQUF5QixFQUFFLGFBQWEsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBVTNFOzs7R0FHRztBQUNILE1BQU0sQ0FBQyxNQUFNLGNBQWMsR0FBRyxPQUFPLENBQUMsR0FBRyxDQUN2Qyw4Q0FBOEMsQ0FDL0MsQ0FBQztBQUVGOzs7R0FHRztBQUNILE1BQU0sQ0FBQyxNQUFNLG1CQUFtQixHQUFHLEtBQUssQ0FBQyxNQUFNLENBQzdDLGNBQWMsRUFDZCxNQUFNLENBQUMsR0FBRyxDQUFDLGFBQWEsRUFBRSxDQUFDLE9BQU8sRUFBRSxFQUFFLENBQUMsSUFBSSxNQUFNLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FDNUQsQ0FBQztBQUVGOzs7R0FHRztBQUNILE1BQ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uZXhwb3J0IGNvbnN0IExvZ2dlckluc3RhbmNlTGF5ZXIgPSBMYXllci5lZmZlY3QoXG4gIExvZ2dlckluc3RhbmNlLFxuICBFZmZlY3QubWFwKExvZ2dlck9wdGlvbnMsIChvcHRpb25zKSA9PiBuZXcgTG9nZ2VyKG9wdGlvbnMpKSxcbik7XG5cbi8qKlxuICogQHNpbmNlIDEuMC4wXG4gKiBAY2F0ZWdvcnkgbGF5ZXJzXG4gKi9cbmV4cG9ydCBjb25zdCBEZWZhdWx0TG9nZ2VySW5zdGFuY2VMYXllciA9IExheWVyLnByb3ZpZGUoXG4gIERlZmF1bHRMb2dnZXJPcHRpb25zTGF5ZXIsXG4gIExvZ2dlckluc3RhbmNlTGF5ZXIsXG4pO1xuIl19 |
@@ -13,2 +13,2 @@ import * as Context from "effect/Context"; | ||
export const DefaultLoggerOptionsLayer = Layer.succeed(LoggerOptions, {}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTG9nZ2VyT3B0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9Mb2dnZXJPcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sS0FBSyxPQUFPLE1BQU0sZ0JBQWdCLENBQUM7QUFDMUMsT0FBTyxLQUFLLEtBQUssTUFBTSxjQUFjLENBQUM7QUFVdEM7OztHQUdHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sYUFBYSxHQUFHLE9BQU8sQ0FBQyxHQUFHLENBQ3RDLDZDQUE2QyxDQUM5QyxDQUFDO0FBRUY7OztHQUdHO0FBQ0gsTUFBTSxDQUFDLE1BQU0seUJBQXlCLEdBQUcsS0FBSyxDQUFDLE9BQU8sQ0FBQyxhQUFhLEVBQUUsRUFBRSxDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IENvbnN0cnVj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nZXJPcHRpb25zLCB7fSk7XG4iXX0= |
@@ -7,2 +7,4 @@ import type { LogAttributes, LogItemMessage } from "@aws-lambda-powertools/logger/lib/types"; | ||
* It prints a log item with level DEBUG. | ||
* @since 1.0.0 | ||
* @category logging | ||
*/ | ||
@@ -13,2 +15,4 @@ export declare const logDebug: (input: LogItemMessage, ...extraInput: LogAttributes[]) => Effect.Effect<never, never, void>; | ||
* It prints a log item with level INFO. | ||
* @since 1.0.0 | ||
* @category logging | ||
*/ | ||
@@ -19,2 +23,4 @@ export declare const logInfo: (input: LogItemMessage, ...extraInput: LogAttributes[]) => Effect.Effect<never, never, void>; | ||
* It prints a log item with level WARN. | ||
* @since 1.0.0 | ||
* @category logging | ||
*/ | ||
@@ -25,2 +31,4 @@ export declare const logWarning: (input: LogItemMessage, ...extraInput: LogAttributes[]) => Effect.Effect<never, never, void>; | ||
* It prints a log item with level ERROR. | ||
* @since 1.0.0 | ||
* @category logging | ||
*/ | ||
@@ -31,2 +39,4 @@ export declare const logError: (input: LogItemMessage, ...extraInput: LogAttributes[]) => Effect.Effect<never, never, void>; | ||
* It prints a log item with level CRITICAL. | ||
* @since 1.0.0 | ||
* @category logging | ||
*/ | ||
@@ -37,2 +47,4 @@ export declare const logFatal: (input: LogItemMessage, ...extraInput: LogAttributes[]) => Effect.Effect<never, never, void>; | ||
* It prints a log item with level CRITICAL. | ||
* @since 1.0.0 | ||
* @category logging | ||
* @alias logFatal | ||
@@ -39,0 +51,0 @@ */ |
@@ -18,2 +18,4 @@ "use strict"; | ||
* It prints a log item with level DEBUG. | ||
* @since 1.0.0 | ||
* @category logging | ||
*/ | ||
@@ -24,2 +26,4 @@ exports.logDebug = processLog(effect_1.Effect.logDebug); | ||
* It prints a log item with level INFO. | ||
* @since 1.0.0 | ||
* @category logging | ||
*/ | ||
@@ -30,2 +34,4 @@ exports.logInfo = processLog(effect_1.Effect.logInfo); | ||
* It prints a log item with level WARN. | ||
* @since 1.0.0 | ||
* @category logging | ||
*/ | ||
@@ -36,2 +42,4 @@ exports.logWarning = processLog(effect_1.Effect.logWarning); | ||
* It prints a log item with level ERROR. | ||
* @since 1.0.0 | ||
* @category logging | ||
*/ | ||
@@ -42,2 +50,4 @@ exports.logError = processLog(effect_1.Effect.logError); | ||
* It prints a log item with level CRITICAL. | ||
* @since 1.0.0 | ||
* @category logging | ||
*/ | ||
@@ -48,2 +58,4 @@ exports.logFatal = processLog(effect_1.Effect.logFatal); | ||
* It prints a log item with level CRITICAL. | ||
* @since 1.0.0 | ||
* @category logging | ||
* @alias logFatal | ||
@@ -101,2 +113,2 @@ */ | ||
exports.DefaultPowerToolsLoggerLayer = exports.PowerToolsLoggerLayer.pipe(effect_1.Layer.provide(LoggerOptions_1.DefaultLoggerOptionsLayer)); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTG9nZ2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL0xvZ2dlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFNQSxtQ0FXZ0I7QUFDaEIscURBQXVFO0FBQ3ZFLG1EQUE0RDtBQUU1RCxNQUFNLGFBQWEsR0FBRyxpQkFBUSxDQUFDLFVBQVUsQ0FBb0IsRUFBRSxDQUFDLENBQUM7QUFFakUsTUFBTSxVQUFVLEdBQUcsQ0FDakIsTUFBOEQsRUFDOUQsRUFBRTtJQUNGLE9BQU8sQ0FBQyxLQUFxQixFQUFFLEdBQUcsVUFBMkIsRUFBRSxFQUFFO1FBQy9ELE1BQU0sT0FBTyxHQUFHLE9BQU8sS0FBSyxLQUFLLFFBQVEsQ0FBQyxDQUFDLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxLQUFLLENBQUMsT0FBTyxDQUFDO1FBRWxFLE1BQU0sV0FBVyxHQUNmLE9BQU8sS0FBSyxLQUFLLFFBQVEsQ0FBQyxDQUFDLENBQUMsVUFBVSxDQUFDLENBQUMsQ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2dnZXJMYXllciA9IExheWVyLm1lcmdlKFxuICBMb2cucmVwbGFjZUVmZmVjdChMb2cuZGVmYXVsdExvZ2dlciwgUG93ZXJUb29sc0xvZ2dlckVmZmVjdCksXG4gIExvZy5taW5pbXVtTG9nTGV2ZWwoTG9nTGV2ZWwuQWxsKSxcbik7XG5cbi8qKlxuICogQ3JlYXRlcyBhIGxvZ2dlciBsYXllciBpbXBsZW1lbnRhdGlvbiB0aGF0IHVzZXMgdGhlIEFXUyBMYW1iZGEgUG93ZXJ0b29scyBMb2dnZXIgaW5zdGFuY2UgY29uZmlndXJlZCBieSBsb2dnZXIgb3B0aW9ucyBsYXllci5cbiAqXG4gKiBAc2luY2UgMS4wLjBcbiAqIEBjYXRlZ29yeSBsYXllcnNcbiAqL1xuZXhwb3J0IGNvbnN0IFBvd2VyVG9vbHNMb2dnZXJMYXllciA9IEJhc2VQb3dlclRvb2xzTG9nZ2VyTGF5ZXIucGlwZShcbiAgTGF5ZXIucHJvdmlkZShMb2dnZXJJbnN0YW5jZUxheWVyKSxcbik7XG5cbi8qKlxuICogQ3JlYXRlcyBhIGxvZ2dlciBsYXllciBpbXBsZW1lbnRhdGlvbiB0aGF0IHVzZXMgdGhlIGRlZmF1bHQgQVdTIExhbWJkYSBQb3dlcnRvb2xzIExvZ2dlciBpbnN0YW5jZS5cbiAqXG4gKiBAc2luY2UgMS4wLjBcbiAqIEBjYXRlZ29yeSBsYXllcnNcbiAqL1xuZXhwb3J0IGNvbnN0IERlZmF1bHRQb3dlclRvb2xzTG9nZ2VyTGF5ZXIgPSBQb3dlclRvb2xzTG9nZ2VyTGF5ZXIucGlwZShcbiAgTGF5ZXIucHJvdmlkZShEZWZhdWx0TG9nZ2VyT3B0aW9uc0xheWVyKSxcbik7XG4iXX0= |
@@ -0,1 +1,4 @@ | ||
/** | ||
* @since 1.0.0 | ||
*/ | ||
import { Logger } from "@aws-lambda-powertools/logger"; | ||
@@ -2,0 +5,0 @@ import * as Context from "effect/Context"; |
@@ -27,2 +27,5 @@ "use strict"; | ||
exports.DefaultLoggerInstanceLayer = exports.LoggerInstanceLayer = exports.LoggerInstance = void 0; | ||
/** | ||
* @since 1.0.0 | ||
*/ | ||
const logger_1 = require("@aws-lambda-powertools/logger"); | ||
@@ -48,2 +51,2 @@ const Context = __importStar(require("effect/Context")); | ||
exports.DefaultLoggerInstanceLayer = Layer.provide(LoggerOptions_1.DefaultLoggerOptionsLayer, exports.LoggerInstanceLayer); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTG9nZ2VySW5zdGFuY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvTG9nZ2VySW5zdGFuY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSwwREFBdUQ7QUFDdkQsd0RBQTBDO0FBQzFDLHNEQUF3QztBQUN4QyxvREFBc0M7QUFDdEMsbURBQTJFO0FBVTNFOzs7R0FHRztBQUNVLFFBQUEsY0FBYyxHQUFHLE9BQU8sQ0FBQyxHQUFHLENBQ3ZDLDhDQUE4QyxDQUMvQyxDQUFDO0FBRUY7OztHQUdHO0FBQ1UsUUFBQSxtQkFBbUIsR0FBRyxLQUFLLENBQUMsTUFBTSxDQUM3QyxzQkFBYyxFQUNkLE1BQU0sQ0FBQyxHQUFHLENBQUMsNkJBQWEsRUFBRSxDQUFDLE9BQU8sRUFBRSxFQUFFLENBQUMsSUFBSSxlQUFNLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FDNUQsQ0FBQztBQUVGOzs7R0FHRztBQUNVLFFBQUEsMEJBQTBCLEdBQUcsS0FBSyxDQUFDLE9BQU8sQ0FDckQseUNBQXlCLEVBQ3pCLDJCQUFtQixDQUNwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTG9nZ2VyIH0gZnJvbSBcIkBhd3M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VySW5zdGFuY2VMYXllcixcbik7XG4iXX0= |
@@ -0,1 +1,4 @@ | ||
/** | ||
* @since 1.0.0 | ||
*/ | ||
import type { ConstructorOptions } from "@aws-lambda-powertools/logger/lib/types"; | ||
@@ -2,0 +5,0 @@ import * as Context from "effect/Context"; |
@@ -39,2 +39,2 @@ "use strict"; | ||
exports.DefaultLoggerOptionsLayer = Layer.succeed(exports.LoggerOptions, {}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTG9nZ2VyT3B0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9Mb2dnZXJPcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQ0Esd0RBQTBDO0FBQzFDLG9EQUFzQztBQVV0Qzs7O0dBR0c7QUFDVSxRQUFBLGFBQWEsR0FBRyxPQUFPLENBQUMsR0FBRyxDQUN0Qyw2Q0FBNkMsQ0FDOUMsQ0FBQztBQUVGOzs7R0FHRztBQUNVLFFBQUEseUJBQXlCLEdBQUcsS0FBSyxDQUFDLE9BQU8sQ0FBQyxxQkFBYSxFQUFFLEVBQUUsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBDb25zdHJ1Y3Rvck9wdGlvbnMgfSBmcm9tIFwiQGF3cy1sYW1iZGEtcG93ZXJ0b29scy9sb2dnZXIvbGliL3R5cGVzXCI7XG5pbXBvcnQgKiBhcyBDb250ZXh0IGZyb20gXCJlZmZlY3QvQ29udGV4dFwiO1xuaW1wb3J0ICogYXMgTGF5ZXIgZnJvbSBcImVmZmVjdC9MYXllclwiO1xuXG4vKipcbiAqIEBzaW5jZSAxLjAuMFxuICogQGNhdGVnb3J5IHRhZ3NcbiAqL1xuZXhwb3J0IGludGVyZmFjZSBMb2dnZXJPcHRpb25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YW1iZGEtcG93ZXJ0b29scy9sb2dnZXIvbGliL3R5cGVzXCI7XG5pbXBvcnQgKiBhcyBDb250ZXh0IGZyb20gXCJlZmZlY3QvQ29udGV4dFwiO1xuaW1wb3J0ICogYXMgTGF5ZXIgZnJvbSBcImVmZmVjdC9MYXllclwiO1xuXG4vKipcbiAqIEBzaW5jZSAxLjAuMFxuICogQGNhdGVnb3J5IHRhZ3NcbiAqL1xuZXhwb3J0IGludGVyZmFjZSBMb2dnZXJPcHRpb25zIHtcbiAgcmVhZG9ubHkgXzogdW5pcXVlIHN5bWJvbDtcbn1cblxuLyoqXG4gKiBAc2luY2UgMS4wLjBcbiAqIEBjYXRlZ29yeSB0YWdzXG4gKi9cbmV4cG9ydCBjb25zdCBMb2dnZXJPcHRpb25zID0gQ29udGV4dC5UYWc8TG9nZ2VyT3B0aW9ucywgQ29uc3RydWN0b3JPcHRpb25zPihcbiAgXCJAZWZmZWN0LWF3cy9wb3dlcnRvb2xzLWxvZ2dlci9Mb2dnZXJPcHRpb25zXCIsXG4pO1xuXG4vKipcbiAqIEBzaW5jZSAxLjAuMFxuICogQGNhdGVnb3J5IGxheWVyc1xuICovXG5leHBvcnQgY29uc3QgRGVmYXVsdExvZ2dlck9wdGlvbnNMYXllciA9IExheWVyLnN1Y2NlZWQoTG9nZ2VyT3B0aW9ucywge30pO1xuIl19 |
@@ -9,11 +9,12 @@ { | ||
"devDependencies": { | ||
"@effect/docgen": "^0.3.8", | ||
"@types/aws-lambda": "^8.10.125", | ||
"@types/jest": "^29.5.5", | ||
"@types/node": "^16", | ||
"@types/node": "^18", | ||
"@typescript-eslint/eslint-plugin": "^6", | ||
"@typescript-eslint/parser": "^6", | ||
"constructs": "^10.0.0", | ||
"effect": "2.0.1", | ||
"eslint": "^8", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-import-resolver-node": "^0.3.9", | ||
"eslint-import-resolver-typescript": "^3.6.1", | ||
@@ -24,3 +25,3 @@ "eslint-plugin-import": "^2.28.1", | ||
"prettier": "^3.0.3", | ||
"projen": "^0.73.34", | ||
"projen": "^0.79.6", | ||
"ts-jest": "^29.1.1", | ||
@@ -37,8 +38,10 @@ "typescript": "^5.2.2" | ||
"license": "MIT", | ||
"homepage": "https://floydspace.github.io/effect-aws", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"types": "lib/index.d.ts", | ||
"module": "lib/esm/index.js", | ||
"sideEffects": [], | ||
"//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\".", | ||
@@ -55,4 +58,5 @@ "scripts": { | ||
"test:watch": "npx projen test:watch", | ||
"watch": "npx projen watch" | ||
"watch": "npx projen watch", | ||
"docgen": "docgen" | ||
} | ||
} |
@@ -25,3 +25,3 @@ # @effect-aws/powertools-logger | ||
program, | ||
Effect.provideLayer(Logger.DefaultPowerToolsLoggerLayer), | ||
Effect.provide(Logger.DefaultPowerToolsLoggerLayer), | ||
Effect.runPromise, | ||
@@ -45,7 +45,4 @@ ); | ||
program, | ||
Effect.provideLayer(Logger.PowerToolsLoggerLayer), | ||
Effect.provideService( | ||
Logger.LoggerOptionsTag, | ||
new Logger.LoggerOptions({ logLevel: "DEBUG" }), | ||
), | ||
Effect.provide(Logger.PowerToolsLoggerLayer), | ||
Effect.provideService(Logger.LoggerOptions, { logLevel: "DEBUG" }), | ||
Effect.runPromise, | ||
@@ -70,5 +67,5 @@ ); | ||
program, | ||
Effect.provideLayer(Logger.BasePowerToolsLoggerLayer), | ||
Effect.provide(Logger.BasePowerToolsLoggerLayer), | ||
Effect.provideService( | ||
Logger.LoggerInstanceTag, | ||
Logger.LoggerInstance, | ||
new LoggerCtor({ logLevel: "DEBUG" }), | ||
@@ -75,0 +72,0 @@ ), |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
53996
560
0
0
18
18
73