Socket
Socket
Sign inDemoInstall

@dynamic-labs/logger

Package Overview
Dependencies
Maintainers
1
Versions
591
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dynamic-labs/logger

A simple client side logging library used in Dynamic SDK


Version published
Weekly downloads
15K
decreased by-1.85%
Maintainers
1
Weekly downloads
 
Created
Source

logger

Generic logger that wraps console.log with support of log levels and formatting messages.

Features:

  1. Create a new named logger new Logger(name, LogLevel.INFO)
  2. Formats log messages: [name] [level]: message
  3. Supports additional arguments just like console log
  4. Change the loglevel with logger.setLogLevel(LogLevel)

Building

Run nx build logger to build the library.

Running unit tests

Run nx test logger to execute the unit tests via Jest.

FAQs

Package last updated on 20 Sep 2024

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

  • 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