Implement LevelDB::Logger .
Use reinterpret_cast instead of C style cast.
Add assert_leveldb to avoid forgetting DB close.
Use TEST_DB_NAME test DB name instead of 'test-db'.