Created
January 19, 2016 18:05
-
-
Save drmikecrowe/88dad7c5e549910450af to your computer and use it in GitHub Desktop.
Set debug log level for MongoClient
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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