function(doc, callback) {
        audit([doc], function(err) {
          if (err) {
            return callback(err);
          }
          docsDb.saveDoc(doc, callback);
        });
      }
function(doc, callback) {
        audit([doc], function(err) {
          if (err) {
            return callback(err);
          }
          docsDb.saveDoc(doc, callback);
        });
      }
function ( doc , callback ) { audit ( [ doc ] , function ( err ) { if ( err ) { return callback ( err ) ; } docsDb . saveDoc ( doc , callback ) ; } ) ; }
Saves the given doc with an audit record

@name saveDoc(doc, callback)
@param {Object} doc
@param {Function} callback(err,response)
@api public
Saves the given doc with an audit record