I'm looking for contributors for Loggin'JS ✨
Tags: contributorswanted, node, logger
Published: 2020-01-24 23:30:19

**Hey there!**

I currently work full time as a developer and I also maintain a couple of libraries I made _(when time lets me)_, and I would like to find some help to keep improving them. 


The library I'm most interested in getting help with is **loggin-js**, a **NodeJS logger**. I know there are a few loggers out there already and will not try and explain why you should use mine instead of some other one, it comes down to personal preference.  

[To the point](#helping-out)

### A bit of history
The library started out as a logger for a project at work, I then started using it in other projects and decided to convert it into an npm library, make it Open Source and it would hopefully be useful for someone else... It's been **2 years** since I first published it, and use it in mostly every NodeJS project at work.

### Preview
Here is a snippet of the library in use:
```js
const loggin = require('loggin-js');

const csol = 
  loggin
    .notifier('console', { name: 'csol' })
    .color(true)   // colored output
    .level('info') // Only info logs and below will be logged -- Follows the standard RFC3164 code (https://tools.ietf.org/html/rfc3164)
    .formatter('detailed');

const file = 
  loggin
    .notifier('file')
    .color(false)
    .formatter('detailed')
    .pipe(loggin.severity('error'), 'error.log') // write error level and below to 'error.log'
    .pipe(loggin.severity('debug'), 'debug.log'); // write debug level (all logs) to debug.log


const logger =
  loggin.logger({
    notifiers: [csol, file],
    channel: 'logger1',
  });

logger.debug('debug message');
logger.info('info message');

// Modify notifiers after adding to a logger
// Here on forwards, csol notifier will be disabled and will not output logs
csol.enable(false);

```
You can find more examples [here](https://github.com/loggin-js/loggin-js/tree/master/examples)

There are some quirky things, that is somewhat the reason to look for help. Because "*None of us is better than all of us.*"


### Some features
- **Extensible**
- **Lightweight:** `59kb` after [Reducing npm package size by 83%](https://dev.to/nombrekeff/reducing-npm-package-size-by-83-4jde)
- **Plugins:** MongoDB, express, and more...
- **Format log messages** & **colored** output
- **Notifier:** File, Http, Console and more...
- **Log levels:** log some stuff as DEBUG, INFO, or just ERRORS, etc...

### Helping out
_First of, thank you for even considering helping out, it's people like you that make Open Source possible and a better world to code in :P_


If you are interested [check the lib out](https://github.com/loggin-js/loggin-js), then decide whether you want to help and what you can help with.


Any type of contribution is welcomed, from just giving your opinion to maybe adding a feature, these are some of the ways to help out _(from less to more effort)_:
* Give it a star on GitHub
* Give your opinion
* Share the library
* Discussing features
* Recommendations
* Writing/improving docs
* Respond to some issues
* Maybe some coding

If you are interested:
* send me a mail at [manoloedge96@gmail.com](manoloedge96@gmail.com)
* join the [slack channel](loggin-js.slack.com) and say hi!
* send a direct message through [dev.to](dev.to).

Key Links:
* [Slack Channel](https://loggin-js.slack.com)
* [Repo](https://github.com/loggin-js/loggin-js)