couchdb-audit/log.js
function(doc, callback) {
        audit([doc], 'delete', function(err) {
          if (err) {
            return callback(err);
          }
          docsDb.removeDoc(doc._id, doc._rev, callback);
        });
      }
function(doc, callback) {
        audit([doc], 'delete', function(err) {
          if (err) {
            return callback(err);
          }
          docsDb.removeDoc(doc._id, doc._rev, callback);
        });
      }
function ( doc , callback ) { audit ( [ doc ] , 'delete' , function ( err ) { if ( err ) { return callback ( err ) ; } docsDb . removeDoc ( doc . _id , doc . _rev , callback ) ; } ) ; }
Deletes the given doc with auditing

@name removeDoc(doc, callback)
@param {Object} doc
@param {Function} callback(err,response)
@api public
Deletes the given doc with auditing