Permalink
Browse files

db: use log

  • Loading branch information...
1 parent c7f0759 commit 235e0df3dc168d65f301bb77388ebcf37442af1c @aheckmann committed Jan 26, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/db.js
View
@@ -5,6 +5,7 @@
var mongodb = require('mongodb')
var slice = require('sliced')
+var log = require('./log')
var p = require('./p')
/**
@@ -47,7 +48,7 @@ function createConstructor (db) {
if (err) {
return console.error(err);
}
- console.log('database %s was dropped', name);
+ log('database %s was dropped', name);
});
}

0 comments on commit 235e0df

Please sign in to comment.