Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@betterer/logger

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@betterer/logger

logger for @betterer/betterer

  • 0.1.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
62K
decreased by-4.46%
Maintainers
1
Weekly downloads
 
Created
Source

@betterer/logger

npm version

Logger used within betterer.

Usage

Code

import { code } from '@betterer/logger';

code({
  filePath: './file.js',
  fileText: 'function add (a, b) {\n  return a + b;\n}',
  start: 24,
  end: 37
});

Example output for code logger


Error

import { error } from '@betterer/logger';

error('message');

Example output for error logger


Info

info('message');

Example output for info logger


Success

success('message');

Example output for success logger


Warning

warn('message');

Example output for warn logger


FAQs

Package last updated on 22 Sep 2019

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