New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@baselime/lambda-logger

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@baselime/lambda-logger - npm Package Compare versions

Comparing version
0.1.4
to
0.1.5
+1
-1
package.json
{
"name": "@baselime/lambda-logger",
"version": "0.1.4",
"version": "0.1.5",
"description": "An opinionated logger for AWS Lambda",

@@ -5,0 +5,0 @@ "main": "index.js",

## AWS Lambda Logging Library for Node.js
This library provides an easy-to-use logging solution for AWS Lambda functions built with Node.js. It provides an object with four logging functions - `info`, `warn`, `debug`, and `error` - which can be used to log messages at different levels of severity. The visibility of the logs can be controlled by setting the `LOG_LEVEL` environment variable. It's an extremely simple library with 0 dependencies that just wraps console.log with some helpful defaults.
This library provides an easy-to-use logging solution for AWS Lambda functions built with Node.js.
```javascript
const { logger } = require('@baselime/lambda-logger');
logger.info('This is an informational message', {
operation: 'copy-paste-replace',
count: 9000
});
```
It provides an object with four logging functions - `info`, `warn`, `debug`, and `error` - which can be used to log messages at different levels of severity. The visibility of the logs can be controlled by setting the `LOG_LEVEL` environment variable. It's an extremely simple library with 0 dependencies that just wraps console.log with some helpful defaults.
### Installation

@@ -82,2 +93,2 @@

This library is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
This library is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.