@nodulus/logs
Version:
logging component for nodulus.
57 lines (36 loc) • 947 B
Markdown
# @nodulus/logs
logging component for nodulus.
[](https://npmjs.org/package/@nodulus/logs)


### 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