Socket
Socket
Sign inDemoInstall

@transcend-io/logger

Package Overview
Dependencies
5
Maintainers
7
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @transcend-io/logger

Transcend browser logger


Version published
Weekly downloads
234
decreased by-44.55%
Maintainers
7
Install size
5.30 MB
Created
Weekly downloads
 

Readme

Source

Transcend Browser Logger

A logger with style


Table of Contents

  • Usage example

Usage example

This example snippet outputs [log tag] red blue green [interactive object] in your console with relevant styles and native console interactivity

import { createLogger } from '@transcend-io/logger';

const logger = createLogger();

logger.tag('[log tag]', () => {
  logger.log.styled(
    ['color:red', 'color:blue', 'color:green'],
    '%cred %cblue %cgreen',
    { rich: 'object', interactive: true },
  );
});

FAQs

Last updated on 01 Jun 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc