logging: add LoggerDB::updateConfig() and resetConfig()
authorAdam Simpkins <simpkins@fb.com>
Thu, 30 Nov 2017 01:35:16 +0000 (17:35 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 30 Nov 2017 01:51:07 +0000 (17:51 -0800)
commit01d4b7d6db80480e2977fcfa35775506ca5de41f
tree6e8dfd3ebcdc73da5faa4ba3c3a2fb9b51a13258
parentb6e14b7b1823915a6891bd2fa622bca8f4c61004
logging: add LoggerDB::updateConfig() and resetConfig()

Summary: Add methods for applying config changes from a LogConfig object to the LoggerDB.

Reviewed By: bolinfest

Differential Revision: D6200564

fbshipit-source-id: a25eb99e84b2885bf6853e2222db0d7432a6c37b
CMakeLists.txt
folly/experimental/logging/LogCategory.cpp
folly/experimental/logging/LogCategory.h
folly/experimental/logging/LoggerDB.cpp
folly/experimental/logging/LoggerDB.h
folly/experimental/logging/test/ConfigUpdateTest.cpp [new file with mode: 0644]
folly/experimental/logging/test/TestLogHandler.cpp [new file with mode: 0644]
folly/experimental/logging/test/TestLogHandler.h