Socket
Socket
Sign inDemoInstall

cnn-logger

Package Overview
Dependencies
67
Maintainers
9
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cnn-logger

CNN Logger


Version published
Maintainers
9
Install size
13.2 MB
Created

Changelog

Source

2020-05-15, Version 2.1.0, @drenter

Notable changes

  • Update dependencies to address security notes.
  • Update Node and replace npm with yarn.

Commits

Readme

Source

CNN Logger

Replaces console.log() with log.[log-level]() and sends logs to Logz.io.

dependency-status build-status-master build-status-develop npm npm-downloads

Requirements

Read these "requirements" as "only tested with".

Usage

This is intended to be used as a dependency in a larger application. Refer to the example.js that you can run with $ node example/example.js.

ESDoc Documentation

You can generate and view the docs locally with the commands below. The open command will only work on macOS.

$ npm run generate-docs
$ open docs/index.html

NPM scripts

  • generate-authors - Generates AUTHORS.md.
  • generate-changelog - Generates output to put in CHANGELOG.md.
  • generate-docs - Generates ESDoc documentation in /docs.
  • test - Runs all tests.
  • update-apply - Updates package.json with dependency updates.
  • update-check - Outputs if any dependency updates are needed.

Developer notes

  • Always develop on the node version specified in the .nvmrc file. If nvm is used typing nvm install in the terminal will insure the correct version is used.

  • Contributors should be familiar with the Contributors Guide

  • Collaborators should be familiar with the Collaborator Guide

  • The current Project Owner (PO) of this project is Jamie Young (@jamsyoung).

Environment variables

  • LOGZIO_TOKEN - REQUIRED - The token to authenticate to the Logz.io account that the logs should be sent to.

Licensing

See LICENSE.md for details.

Keywords

FAQs

Last updated on 15 May 2020

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