Socket
Book a DemoInstallSign in
Socket

@sailplane/logger

Package Overview
Dependencies
Maintainers
3
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sailplane/logger

CloudWatch and serverless-offline friendly logger.

6.0.0
latest
Source
npmnpm
Version published
Weekly downloads
1.1K
-29.08%
Maintainers
3
Weekly downloads
 
Created
Source

@sailplane/logger - CloudWatch and serverless-offline friendly logger

What?

Logger adds context and when needed, timestamps and JSON formatting, to log output.

This is part of the sailplane library of utilities for AWS Serverless in Node.js.

Why?

Sadly, console.log is the #1 debugging tool when writing serverless code. Logger extends it with levels, timestamps, context/category names, and object formatting. It's just a few small incremental improvements, and yet together takes logging a leap forward. It'll do until we can have a usable cloud debugger.

There are far more complicated logging packages available for Javascript; but sailplane is all about simplicity, and this logger gives you all that you really need without the bulk.

How?

See the docs for usage and examples.

Keywords

aws

FAQs

Package last updated on 08 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.