@nodulus/logs
v1.0.1
Published
logging component for nodulus.
Downloads
58
Readme
@nodulus/logs
logging component for nodulus.
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