logger-facade-mongoose

1.0.0 • Public • Published

Logger Facade Mongoose

Build Status

A helper library to hook logger facade library in mongoose.

How to use it

Install it:

npm install logger-facade-nodejs
npm install logger-facade-mongoose

Attach it:

// check logger facade node and plugins for other plugins information
var mongooseLogger = require('logger-facade-mongoose');
mongoose.set('debug', mongooseLogger);

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Running Specs

$ npm test

Package Sidebar

Install

npm i logger-facade-mongoose

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • pjanuario