@aptos-scp/scp-component-logging
v3.0.4
Published
A common logging library
Downloads
9,112
Maintainers
Keywords
Readme
** POD Owner **
- ** Common Services **
scp-component-logging
Installation
First, make sure you are logged-in to the private NPM registry:
npm adduser --registry=https://registry.npmjs.org/ --scope=@aptos-scpThen install the dependency packages:
npm installNotice that this executes "npm install" both in the 'root' project AND in each of the package directories.
Building a component library
First, make sure you've followed the instructions in the Installation section so you're logged into the private NPM registry and have installed dependency packages.
To build, execute this from the root directory:
$ npm run buildYou can then also run tests and coverage:
$ npm run test
$ npm run test:ciVersion 2.0 update
Since version 2.0 the component logstash appender does not use "node-fetch" library but native browser fetch. If the consumer project uses a third-party library it should add fetch to the globals.
Documentation
For more information on using the logging component, consult the following Confluence page: https://confluence.aptos.com/x/QB-XE
