class SemanticLogger::Appender::MongoDB

def purge_all

Also useful when the size of the capped collection needs to be changed
and recreating it.
Purge all data from the capped collection by dropping the collection
def purge_all
  collection.drop
  reopen
  create_indexes
end