logging: update initialization code to use the new LogConfig logic
authorAdam Simpkins <simpkins@fb.com>
Sat, 2 Dec 2017 00:53:51 +0000 (16:53 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sat, 2 Dec 2017 01:11:48 +0000 (17:11 -0800)
commit6072ce3be8548bae30fdd48afe67e986074f5a5b
treecdb78a587708d45b43f5343c7cd254f60adcc2e2
parentd08cf1621ac39b4a23e9f4508222700ce68e9d4a
logging: update initialization code to use the new LogConfig logic

Summary:
Replace the initLoggingGlogStyle() function with a more generic initLogging()
function that accepts a log config string to be parsed with parseLogConfig().

Reviewed By: bolinfest, yfeldblum

Differential Revision: D6342086

fbshipit-source-id: fb1bffd11f190b70e03e2ccbf2b30be08d655242
folly/experimental/logging/Init.cpp
folly/experimental/logging/Init.h
folly/experimental/logging/LoggerDB.cpp
folly/experimental/logging/LoggerDB.h
folly/experimental/logging/example/main.cpp
folly/experimental/logging/test/AsyncFileWriterTest.cpp
folly/experimental/logging/test/FatalHelper.cpp
folly/experimental/logging/test/LoggerDBTest.cpp
folly/experimental/logging/test/fatal_test.py