Skip to content

Instantly share code, notes, and snippets.

@drmikecrowe
Created January 19, 2016 18:05
Show Gist options
  • Save drmikecrowe/88dad7c5e549910450af to your computer and use it in GitHub Desktop.
Save drmikecrowe/88dad7c5e549910450af to your computer and use it in GitHub Desktop.
Set debug log level for MongoClient
var MongoClient = require('mongodb').MongoClient
, Logger = require('mongodb').Logger;
Logger.setLevel('debug');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment