Get access to the dedicated logger of a DB

This commit is contained in:
hofmockel 2014-01-24 17:06:26 +01:00
parent 43a6997362
commit b600d3371f
2 changed files with 2 additions and 1 deletions

View file

@ -101,6 +101,7 @@ cdef extern from "rocksdb/db.h" namespace "rocksdb":
int MaxMemCompactionLevel() nogil except+
int Level0StopWriteTrigger() nogil except+
const string& GetName() nogil except+
const options.Options& GetOptions() nogil except+
Status Flush(const options.FlushOptions&) nogil except+
Status DisableFileDeletions() nogil except+
Status EnableFileDeletions() nogil except+

View file

@ -33,7 +33,7 @@ cdef extern from "rocksdb/options.h" namespace "rocksdb":
cpp_bool error_if_exists
cpp_bool paranoid_checks
# TODO: env
# TODO: info_log
shared_ptr[Logger] info_log
size_t write_buffer_size
int max_write_buffer_number
int min_write_buffer_number_to_merge