@nodulus/logs

logging component for nodulus.

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00Dec 30, 2016Jul 28, 2016Minified + gzip package size for @nodulus/logs in KB

Readme

@nodulus/logs

logging component for nodulus.

NPM

Alt text Alt text

install

npm install @nodulus/logs

usage

var logs=require("@nodulus/logs");

config file format

{
 "transports": [
   {
     "winston.transports.File": {
       "name": "info-file",
       "filename": "filelog-info.log",
       "level": "info"
     }
   },
   {
     "winston.transports.File": {
       "name": "error-file",
       "filename": "filelog-error.log",
       "level": "error"
     }
   }
 ]
}

set config file location

 SET CONFIG_PATH = '--config--path--'
 
```# -nodulus-logs

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.