🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@transcend-io/logger

Package Overview
Dependencies
Maintainers
7
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@transcend-io/logger

Transcend browser logger

latest
Source
npmnpm
Version
1.1.0
Version published
Weekly downloads
132
-81.56%
Maintainers
7
Weekly downloads
 
Created
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

Package last updated on 01 Jun 2022

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