๐Ÿš€ Socket Launch Week ๐Ÿš€ Day 5: Introducing Socket Fix.Learn More โ†’
Socket
Sign inDemoInstall
Socket

@dynamic-labs/logger

Package Overview
Dependencies
Maintainers
0
Versions
751
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

2.2.4
npm
Version published
Maintainers
0
Created
Source

logger

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

Features:

  • Create a new named logger new Logger(name, LogLevel.INFO)
  • Formats log messages: [name] [level]: message
  • Supports additional arguments just like console log
  • 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 21 Jun 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