add a `FOLLY_INIT_LOGGING_CONFIG()` helper macro
Summary: Add a macro to help users define the `getBaseLoggingConfig()` function. While I would prefer to avoid macros if possible, this seems worthwhile. This saves 4 or 5 lines of boilerplate code in each program that sets a custom base logger setting. It also reduces the likelihood of a developer accidentally having a typo in the function name, which would still build successfully but not have the desired results. Reviewed By: chadaustin Differential Revision: D7457652 fbshipit-source-id: 1c316c7ea6949c16bd7b61c0440cc1ee69ecb83e
Showing
Please register or sign in to comment