cosmolog
Advanced tools
Weekly downloads
Changelog
Readme
THIS PROJECT IS STILL IN THE DESIGN PHASE
IDEAS & CONTRIBUTIONS ARE WELCOME
An Open Source Universe Project
Planned
Planned
Planned
Planned
Planned
npm install cosmolog
Read more about the Design behind cosmolog
here.
import { log } from 'cosmolog';
log.format('json');
log.debug('A Debug Log');
// {_level: 'DEBUG', timestamp: '2022-07-29T14:45:48.952Z', message: 'A Debug Log' }
log.info('A Simple Log', { data: 'optionalDataObject' });
// {_level: 'INFO', timestamp: '2022-07-29T14:45:49.952Z', message: 'A Simple Log', meta: { data: 'optionalDataObject' } }
log.error('An Error Happened', new Error('Optional Error Argument'));
// {_level: 'ERROR', timestamp: '2022-07-29T14:45:50.952Z', message: 'An Error Happened', error: { message: 'Optional Error Argument', trace: 'Stack Trace...' } }
cosmolog
is under active development, documentation will be added once an initial release is ready.
We would love for you to contribute your ideas, code, & fixes to cosmolog
.
We encourage everyone to read our Design Document to learn more about the thought process behind cosmolog.
Also check out the rewards offered for contributing to the Open Source Universe.
MIT
FAQs
Logging Framework For The Open Source Universe
The npm package cosmolog receives a total of 1,330 weekly downloads. As such, cosmolog popularity was classified as popular.
We found that cosmolog demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.