Logging Extension for Twee.io Framework - MVC Framework for Node.js and io.js based on Express.js.
Uses winston
logger. Logs into json files, can also be enabled to log into console.
To install it use this command:
npm install twee-logging-extension --save
Editing package.json
of your application:
"dependencies": {
"twee-logging-extension": "*"
}
Turning extension ON
in application/configs/twee.js
:
module.exports = {
"extensions": {
"Logging": {
"module": "twee-logging-extension"
}
}
};