Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@effect-aws/powertools-logger

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@effect-aws/powertools-logger - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

6

CHANGELOG.md
# @effect-aws/powertools-logger
## 0.2.1
### Patch Changes
- [`3d37bc9`](https://github.com/floydspace/effect-aws/commit/3d37bc931118d2b55558b54727022445b39438a9) Thanks [@floydspace](https://github.com/floydspace)! - fix breaking change occurred in powertools logger version 1.9.0 and drop support of lower versions
## 0.2.0

@@ -4,0 +10,0 @@

13

lib/esm/Logger.js

@@ -12,2 +12,3 @@ import { Logger } from "@aws-lambda-powertools/logger";

import * as Log from "@effect/io/Logger";
import * as LogLevel from "@effect/io/LogLevel";
export const LoggerInstanceTag = Context.Tag("@effect-aws/Powertools/Logger");

@@ -72,15 +73,17 @@ const logExtraInput = FiberRef.unsafeMake([]);

});
logger.processLogItem(options.logLevel.label === "FATAL" ? "CRITICAL" : options.logLevel.label, options.message, extraInputs);
const unsafeLogger = logger;
unsafeLogger.processLogItem(unsafeLogger.logLevelThresholds[options.logLevel.label === "FATAL" ? "CRITICAL" : options.logLevel.label], options.message, extraInputs);
});
};
export const DefaultLoggerInstanceLayer = Layer.succeed(LoggerInstanceTag, new Logger());
const PowerToolsDefaultLogger = LoggerInstanceTag.pipe(Effect.map(powerToolsImpl), Effect.provideLayer(DefaultLoggerInstanceLayer));
const PowerToolsLogger = LoggerInstanceTag.pipe(Effect.map(powerToolsImpl));
const PowerToolsDefaultLogger = PowerToolsLogger.pipe(Effect.provideLayer(DefaultLoggerInstanceLayer));
/**
* Creates a logger layer implementation that uses the default AWS Lambda Powertools Logger instance.
*/
export const PowerToolsDefaultLoggerLayer = Log.replaceEffect(Log.defaultLogger, PowerToolsDefaultLogger);
export const PowerToolsDefaultLoggerLayer = Layer.merge(Log.replaceEffect(Log.defaultLogger, PowerToolsDefaultLogger), Log.minimumLogLevel(LogLevel.All));
/**
* Creates a logger layer implementation that uses the AWS Lambda Powertools Logger instance provided by implementation layer.
*/
export const PowerToolsLoggerLayer = Log.replaceEffect(Log.defaultLogger, LoggerInstanceTag.pipe(Effect.map(powerToolsImpl)));
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTG9nZ2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL0xvZ2dlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFLdkQsT0FBTyxLQUFLLE9BQU8sTUFBTSxzQkFBc0IsQ0FBQztBQUNoRCxPQUFPLEtBQUssT0FBTyxNQUFNLHNCQUFzQixDQUFDO0FBQ2hELE9BQU8sS0FBSyxJQUFJLE1BQU0sbUJBQW1CLENBQUM7QUFDMUMsT0FBTyxLQUFLLEtBQUssTUFBTSxrQkFBa0IsQ0FBQztBQUMxQyxPQUFPLEtBQUssTUFBTSxNQUFNLG1CQUFtQixDQUFDO0FBQzVDLE9BQU8sS0FBSyxPQUFPLE1BQU0sb0JBQW9CLENBQUM7QUFDOUMsT0FBTyxLQUFLLFFBQVEsTUFBTSxxQkFBcUIsQ0FBQztBQUNoRCxPQUFPLEtBQUssU0FBUyxNQUFNLHNCQUFzQixDQUFDO0FBQ2xELE9BQU8sS0FBSyxLQUFLLE1BQU0sa0JBQWtCLENBQUM7QUFDMUMsT0FBTyxLQUFLLEdBQUcsTUFBTSxtQkFBbUIsQ0FBQztBQUV6QyxNQUFNLENBQUMsTUFBTSxpQkFBaUIsR0FBRyxPQUFPLENBQUMsR0FBRyxDQUMxQywrQkFBK0IsQ0FDaEMsQ0FBQztBQUVGLE1BQU0sYUFBYSxHQUFHLFFBQVEsQ0FBQyxVQUFVLENBQW9C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iAqL1xuZXhwb3J0IGNvbnN0IFBvd2VyVG9vbHNMb2dnZXJMYXllciA9IExvZy5yZXBsYWNlRWZmZWN0KFxuICBMb2cuZGVmYXVsdExvZ2dlcixcbiAgTG9nZ2VySW5zdGFuY2VUYWcucGlwZShFZmZlY3QubWFwKHBvd2VyVG9vbHNJbXBsKSksXG4pO1xuIl19
export const PowerToolsLoggerLayer = Layer.merge(Log.replaceEffect(Log.defaultLogger, PowerToolsLogger), Log.minimumLogLevel(LogLevel.All));
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTG9nZ2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL0xvZ2dlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFLdkQsT0FBTyxLQUFLLE9BQU8sTUFBTSxzQkFBc0IsQ0FBQztBQUNoRCxPQUFPLEtBQUssT0FBTyxNQUFNLHNCQUFzQixDQUFDO0FBQ2hELE9BQU8sS0FBSyxJQUFJLE1BQU0sbUJBQW1CLENBQUM7QUFDMUMsT0FBTyxLQUFLLEtBQUssTUFBTSxrQkFBa0IsQ0FBQztBQUMxQyxPQUFPLEtBQUssTUFBTSxNQUFNLG1CQUFtQixDQUFDO0FBQzVDLE9BQU8sS0FBSyxPQUFPLE1BQU0sb0JBQW9CLENBQUM7QUFDOUMsT0FBTyxLQUFLLFFBQVEsTUFBTSxxQkFBcUIsQ0FBQztBQUNoRCxPQUFPLEtBQUssU0FBUyxNQUFNLHNCQUFzQixDQUFDO0FBQ2xELE9BQU8sS0FBSyxLQUFLLE1BQU0sa0JBQWtCLENBQUM7QUFDMUMsT0FBTyxLQUFLLEdBQUcsTUFBTSxtQkFBbUIsQ0FBQztBQUN6QyxPQUFPLEtBQUssUUFBUSxNQUFNLHFCQUFxQixDQUFDO0FBRWhELE1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,2 +38,3 @@ "use strict";

const Log = __importStar(require("@effect/io/Logger"));
const LogLevel = __importStar(require("@effect/io/LogLevel"));
exports.LoggerInstanceTag = Context.Tag("@effect-aws/Powertools/Logger");

@@ -98,3 +99,4 @@ const logExtraInput = FiberRef.unsafeMake([]);

});
logger.processLogItem(options.logLevel.label === "FATAL" ? "CRITICAL" : options.logLevel.label, options.message, extraInputs);
const unsafeLogger = logger;
unsafeLogger.processLogItem(unsafeLogger.logLevelThresholds[options.logLevel.label === "FATAL" ? "CRITICAL" : options.logLevel.label], options.message, extraInputs);
});

@@ -104,11 +106,12 @@ };

exports.DefaultLoggerInstanceLayer = Layer.succeed(exports.LoggerInstanceTag, new logger_1.Logger());
const PowerToolsDefaultLogger = exports.LoggerInstanceTag.pipe(Effect.map(exports.powerToolsImpl), Effect.provideLayer(exports.DefaultLoggerInstanceLayer));
const PowerToolsLogger = exports.LoggerInstanceTag.pipe(Effect.map(exports.powerToolsImpl));
const PowerToolsDefaultLogger = PowerToolsLogger.pipe(Effect.provideLayer(exports.DefaultLoggerInstanceLayer));
/**
* Creates a logger layer implementation that uses the default AWS Lambda Powertools Logger instance.
*/
exports.PowerToolsDefaultLoggerLayer = Log.replaceEffect(Log.defaultLogger, PowerToolsDefaultLogger);
exports.PowerToolsDefaultLoggerLayer = Layer.merge(Log.replaceEffect(Log.defaultLogger, PowerToolsDefaultLogger), Log.minimumLogLevel(LogLevel.All));
/**
* Creates a logger layer implementation that uses the AWS Lambda Powertools Logger instance provided by implementation layer.
*/
exports.PowerToolsLoggerLayer = Log.replaceEffect(Log.defaultLogger, exports.LoggerInstanceTag.pipe(Effect.map(exports.powerToolsImpl)));
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTG9nZ2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL0xvZ2dlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7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Y2VFZmZlY3QoXG4gIExvZy5kZWZhdWx0TG9nZ2VyLFxuICBQb3dlclRvb2xzRGVmYXVsdExvZ2dlcixcbik7XG5cbi8qKlxuICogQ3JlYXRlcyBhIGxvZ2dlciBsYXllciBpbXBsZW1lbnRhdGlvbiB0aGF0IHVzZXMgdGhlIEFXUyBMYW1iZGEgUG93ZXJ0b29scyBMb2dnZXIgaW5zdGFuY2UgcHJvdmlkZWQgYnkgaW1wbGVtZW50YXRpb24gbGF5ZXIuXG4gKi9cbmV4cG9ydCBjb25zdCBQb3dlclRvb2xzTG9nZ2VyTGF5ZXIgPSBMb2cucmVwbGFjZUVmZmVjdChcbiAgTG9nLmRlZmF1bHRMb2dnZXIsXG4gIExvZ2dlckluc3RhbmNlVGFnLnBpcGUoRWZmZWN0Lm1hcChwb3dlclRvb2xzSW1wbCkpLFxuKTtcbiJdfQ==
exports.PowerToolsLoggerLayer = Layer.merge(Log.replaceEffect(Log.defaultLogger, PowerToolsLogger), Log.minimumLogLevel(LogLevel.All));
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTG9nZ2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL0xvZ2dlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLDBEQUF1RDtBQUt2RCw4REFBZ0Q7QUFDaEQsOERBQWdEO0FBQ2hELHdEQUEwQztBQUMxQyx3REFBMEM7QUFDMUMsMERBQTRDO0FBQzVDLDREQUE4QztBQUM5Qyw4REFBZ0Q7QUFDaEQsZ0VBQWtEO0FBQ2xELHdEQUEwQztBQUMxQyx1REFBeUM7QUFDekMsOERBQWdEO0FBRW5DLFFBQUEsaUJBQWlCLEdBQUcsT0FBTyxDQUFDLEdBQUcsQ0FDMUMsK0JBQStCLENBQ2hDLENBQUM7QUFFRixNQUFNLGFBQWEsR0FB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hIGxvZ2dlciBsYXllciBpbXBsZW1lbnRhdGlvbiB0aGF0IHVzZXMgdGhlIGRlZmF1bHQgQVdTIExhbWJkYSBQb3dlcnRvb2xzIExvZ2dlciBpbnN0YW5jZS5cbiAqL1xuZXhwb3J0IGNvbnN0IFBvd2VyVG9vbHNEZWZhdWx0TG9nZ2VyTGF5ZXIgPSBMYXllci5tZXJnZShcbiAgTG9nLnJlcGxhY2VFZmZlY3QoTG9nLmRlZmF1bHRMb2dnZXIsIFBvd2VyVG9vbHNEZWZhdWx0TG9nZ2VyKSxcbiAgTG9nLm1pbmltdW1Mb2dMZXZlbChMb2dMZXZlbC5BbGwpLCAvLyBMb2cgbGV2ZWwgaXMgY29udHJvbGxlZCBieSB0aGUgUG93ZXJUb29scyBMb2dnZXIgaW5zdGFuY2Vcbik7XG5cbi8qKlxuICogQ3JlYXRlcyBhIGxvZ2dlciBsYXllciBpbXBsZW1lbnRhdGlvbiB0aGF0IHVzZXMgdGhlIEFXUyBMYW1iZGEgUG93ZXJ0b29scyBMb2dnZXIgaW5zdGFuY2UgcHJvdmlkZWQgYnkgaW1wbGVtZW50YXRpb24gbGF5ZXIuXG4gKi9cbmV4cG9ydCBjb25zdCBQb3dlclRvb2xzTG9nZ2VyTGF5ZXIgPSBMYXllci5tZXJnZShcbiAgTG9nLnJlcGxhY2VFZmZlY3QoTG9nLmRlZmF1bHRMb2dnZXIsIFBvd2VyVG9vbHNMb2dnZXIpLFxuICBMb2cubWluaW11bUxvZ0xldmVsKExvZ0xldmVsLkFsbCksXG4pO1xuIl19

@@ -12,2 +12,3 @@ {

"@types/aws-lambda": "^8.10.121",
"@types/jest": "^29.5.5",
"@types/node": "^16",

@@ -22,4 +23,6 @@ "@typescript-eslint/eslint-plugin": "^6",

"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.7.0",
"prettier": "^3.0.3",
"projen": "^0.73.24",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"

@@ -32,3 +35,3 @@ },

"dependencies": {
"@aws-lambda-powertools/logger": "^1"
"@aws-lambda-powertools/logger": "^1.9.0"
},

@@ -40,3 +43,3 @@ "main": "lib/index.js",

},
"version": "0.2.0",
"version": "0.2.1",
"types": "lib/index.d.ts",

@@ -54,4 +57,5 @@ "module": "lib/esm/index.js",

"test": "npx projen test",
"test:watch": "npx projen test:watch",
"watch": "npx projen watch"
}
}

@@ -54,2 +54,9 @@ {

},
"test:watch": {
"executor": "nx:run-commands",
"options": {
"command": "pnpm exec projen test:watch",
"cwd": "packages/powertools-logger"
}
},
"watch": {

@@ -56,0 +63,0 @@ "executor": "nx:run-commands",

@@ -11,10 +11,43 @@ # @effect-aws/powertools-logger

With default PowerTools Logger instance:
```typescript
import { PowerToolsDefaultLoggerLayer } from "@effect-aws/powertools-logger";
import { pipe } from "@effect/data/Function";
import * as Effect from "@effect/io/Effect";
import * as Logger from "@effect-aws/powertools-logger";
const program = pipe(
Logger.logInfo("Info message with log meta", { foo: "bar" }),
Effect.tap(() => Effect.logInfo("Native effect info message")),
);
const result = pipe(
program,
Effect.provideLayer(PowerToolsDefaultLoggerLayer),
Effect.provideLayer(Logger.PowerToolsDefaultLoggerLayer),
Effect.runPromise,
);
```
With custom PowerTools Logger instance:
```typescript
import { Logger as LoggerCtor } from "@aws-lambda-powertools/logger";
import { pipe } from "@effect/data/Function";
import * as Effect from "@effect/io/Effect";
import * as Logger from "@effect-aws/powertools-logger";
const program = pipe(
Logger.logDebug("Debug message with log meta", { foo: "bar" }),
Effect.tap(() => Effect.logDebug("Native effect debug message")),
);
const result = pipe(
program,
Effect.provideLayer(Logger.PowerToolsLoggerLayer),
Effect.provideService(
Logger.LoggerInstanceTag,
new LoggerCtor({ logLevel: "DEBUG" }),
),
Effect.runPromise,
);
```

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc