logging: add a LogHandler::getConfig() method
authorAdam Simpkins <simpkins@fb.com>
Thu, 30 Nov 2017 01:35:09 +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)
commit95d9935053bd95825ecd84fd647d697df1113daf
treef131edbf1d08a12b8a15a8c811ea09e901b1d6e6
parentae69959c3e3fc4dc0bff389bd24255f07072b336
logging: add a LogHandler::getConfig() method

Summary:
Add a method to LogHandler to return its current configuration.  This will
make it possible to query the LoggerDB for its current configuration state.

Reviewed By: bolinfest

Differential Revision: D6200563

fbshipit-source-id: 2b8b9752bbeb26c8aac28d1a73b7e2312fd198c8
folly/experimental/logging/FileHandlerFactory.cpp
folly/experimental/logging/Init.cpp
folly/experimental/logging/LogHandler.h
folly/experimental/logging/StandardLogHandler.cpp
folly/experimental/logging/StandardLogHandler.h
folly/experimental/logging/test/StandardLogHandlerTest.cpp
folly/experimental/logging/test/TestLogHandler.h