@nodulus/logs

1.0.1 • Public • Published

@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

Readme

Keywords

Package Sidebar

Install

npm i @nodulus/logs

Weekly Downloads

4

Version

1.0.1

License

ISC

Last publish

Collaborators

  • nodulus