Socket
Book a DemoInstallSign in
Socket

@alphatango/logger

Package Overview
Dependencies
Maintainers
5
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alphatango/logger

Logger which takes care of truncating Bearer tokens, safe JSON stringification, and converts errors to json objects.

0.0.6
latest
Source
npmnpm
Version published
Maintainers
5
Created
Source

ATSquad Token Provider

Logger which takes care of truncating Bearer tokens, safe JSON stringification, and converts errors to json objects.

Using this library

Install the library.

yarn add @alphatango/logger
import Logger from '@alphatango/logger';

const defaultConfiguration = { logFunction: console.log, jsonSpace: 2 };

let requestLogger = new RequestLogger(defaultConfiguration);

requestLogger.log({ title: 'Message title', level: 'WARN', error: 'Error'});

Contribution

We value your input as part of direct feedback to us, by filing issues, or preferably by directly contributing improvements:

  • Fork this repository
  • Create a branch
  • Contribute
  • Pull request

FAQs

Package last updated on 19 Aug 2020

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.