Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

slashtags-logger

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slashtags-logger

logging library

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

Slashtags logger

Implementation details:

It relies on debug.

Installation

npm install slashtags-logger

Usage:

Application:

Supported log levels:

  • debug
  • err/error
  • info
  • warn/warning
  • fatal

Instantiation and invocation:

const log = require('slashtags-logger')('<your app name here>', '[file name here]')

log.info('info')
log.err('error') // log.error('error')
log.debug('debug')
log.warn('warning') // log.warning('warning')
log.fatal('fatal')

Execution:

The loglevel is defined by env variable DEBUG.

DEBUG=* node index.js

Keywords

slashtags

FAQs

Package last updated on 18 Sep 2023

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