logging: add an assert for the FLAG_INHERIT bit
authorAdam Simpkins <simpkins@fb.com>
Thu, 30 Nov 2017 01:35:19 +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)
commitb26334e5f85126a4ebe1c514d4790b98f2c2bbe1
treeb3733af329b6e2c4d0235d24c40b8dee16f23b98
parent89353dca07263ccb9d78e618584f94daa25c371a
logging: add an assert for the FLAG_INHERIT bit

Summary:
Add a static_assert() to check that the FLAG_INHERIT bit does not conflict with
valid LogLevel values.

Reviewed By: bolinfest

Differential Revision: D6341242

fbshipit-source-id: cec284623c8a612a3c54f1b593d169310790616e
folly/experimental/logging/LogCategory.h