logging: add a LogHandler registry to LoggerDB
authorAdam Simpkins <simpkins@fb.com>
Thu, 30 Nov 2017 01:35:08 +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)
commitae69959c3e3fc4dc0bff389bd24255f07072b336
tree05be56309d5666c04dd7e83ff760fc6bdbfc3bd2
parent73c52b9f7d7dc1db75838b33064a4f7e4a5b2e51
logging: add a LogHandler registry to LoggerDB

Summary:
Update the LoggerDB to track a list of LogHandlers by name, and
LogHandlerFactories by handler type.

This will be needed to support updating the LoggerDB configuration from a
LogConfig object.

Reviewed By: bolinfest

Differential Revision: D6200562

fbshipit-source-id: e365b4e0df65aa5aaa34e118eb3cee9c9c45cb05
folly/experimental/logging/LogCategory.h
folly/experimental/logging/LoggerDB.cpp
folly/experimental/logging/LoggerDB.h