diff options
author | Gil <mcg@google.com> | 2018-05-23 07:00:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-23 07:00:05 -0700 |
commit | af19a1b07245b7d0be4fd492bd3731964937c7c6 (patch) | |
tree | e19db1c38a0de792ef8f49b259f34d0dab252fb1 /Firestore/core/src/firebase/firestore/local | |
parent | 23f8320148672310ff71aa3ef2b6c3ac86d47ede (diff) |
Reimplement C++ logging (#1313)
* Add direct support for formatting Objective-C objects
* Rewrite log.h
* Convert FSTWarn to LOG_WARN
* Convert FSTLog to LOG_DEBUG
* Remove FSTLogger
Diffstat (limited to 'Firestore/core/src/firebase/firestore/local')
-rw-r--r-- | Firestore/core/src/firebase/firestore/local/leveldb_transaction.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Firestore/core/src/firebase/firestore/local/leveldb_transaction.cc b/Firestore/core/src/firebase/firestore/local/leveldb_transaction.cc index 3581ef5..da9f004 100644 --- a/Firestore/core/src/firebase/firestore/local/leveldb_transaction.cc +++ b/Firestore/core/src/firebase/firestore/local/leveldb_transaction.cc @@ -212,9 +212,7 @@ void LevelDbTransaction::Commit() { batch.Put(it->first, it->second); } - if (util::LogGetLevel() <= util::kLogLevelDebug) { - util::LogDebug("Committing transaction: %s", ToString().c_str()); - } + LOG_DEBUG("Committing transaction: %s", ToString()); Status status = db_->Write(write_options_, &batch); HARD_ASSERT(status.ok(), "Failed to commit transaction:\n%s\n Failed: %s", |