1.0.4 • Published 8 years ago

logger-crew v1.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

Logger Crew

What's this all about?

  • A simple logger, using MongoDB

How to use

var logger = require('logger-crew'),
  • Initialize the config in your project:
var config = {};

config.mongodb = {
    connectionString : 'localhost:27017/logdb'
}

config.logger = {
    origin: 'someapi'
}
  • Write the logs:
logger.log('error', response_data, req);
1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago