7260347fd1
Summary: AutoRollLogger sets GetStatus() to be non-OK if the log file fails to be created and logger_ is set to null. It is left to the caller to check the status before calling function to this class. There is no harm to create another null checking to logger_ before we using it, so that in case users mis-use the logger, they don't get a segfault. Pull Request resolved: https://github.com/facebook/rocksdb/pull/5623 Test Plan: Run all existing tests. Differential Revision: D16466251 fbshipit-source-id: 262b885eec28bf741d91e9191c3cb5ff964e1bce |
||
---|---|---|
.. | ||
auto_roll_logger_test.cc | ||
auto_roll_logger.cc | ||
auto_roll_logger.h | ||
env_logger_test.cc | ||
env_logger.h | ||
event_logger_test.cc | ||
event_logger.cc | ||
event_logger.h | ||
log_buffer.cc | ||
log_buffer.h | ||
logging.h | ||
posix_logger.h |