krimzen-ninja-logging

0.5.10 • Public • Published

krimzen-ninja-logging

Greenkeeper badge

NPM

CircleCi Known Vulnerabilities codecov

Handles logging in a krimzen-ninja application

Install

$ npm install --save krimzen-ninja-logging

Usage

import myModule from 'krimzen-ninja-logging'
 
myModule()
//TODO

API

See details

License

MIT © Ryan Kotzen

Contributing to this module

Install Chandler to sync your CHANGELOG.md entries to GitHub

How to publish to NPM

You can either do releases from the master branch or follow the LTS model and branch off when you do a release.

  1. Ensure you are on the branch you want to publish from.
  2. Decide based on what is going into the release how the version number is going to change, see Semantic Versioning for more info.
  3. The CHANGELOG.md file should have pending changes documented in the Unreleased section, create a new heading for this version and cut the relevant changes and paste them into the new section.
  4. Commit the changes to the CHANGELOG.md file.
  5. Run one of the prebuilt publish commands that matches your semver patch, minor, major

    npm run patch -m "A message that makes sense" If none of the prebuilt ones fit, you can use npm version [major | minor | patch | premajor | preminor | prepatch | prerelease] -m "A message that makes sense"

  6. If you didn't publish from master, make sure to merge back into master if you were fixing a bug or the changes released need to go back to master.

Snyk dependency checking

You can either add your project via the web dashboard or via the cli by installing the lib npm i -g snyk and then running the setup snyk wizzard.

Log Levels

http://www.masterzen.fr/2013/01/13/the-10-commandments-of-logging/ https://stackoverflow.com/questions/2031163/when-to-use-the-different-log-levels

Research

https://thepracticalsysadmin.com/introduction-to-logstashelasticsearchkibana/ https://www.elastic.co/products/logstash https://www.elastic.co/products/kibana

https://github.com/pinojs/pino https://www.npmjs.com/package/express-pino-logger https://github.com/pinojs/pino/blob/master/docs/transports.md

https://www.npmjs.com/package/pino-debug

Package Sidebar

Install

npm i krimzen-ninja-logging

Weekly Downloads

14

Version

0.5.10

License

MIT

Last publish

Collaborators

  • exigentcoder