logging: add numbered INFO* log level values
authorAdam Simpkins <simpkins@fb.com>
Wed, 10 Jan 2018 04:08:37 +0000 (20:08 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 10 Jan 2018 04:26:36 +0000 (20:26 -0800)
commit59f59178ba38bc793f809d21fc532e160ae5e34b
treea8632a5ca7ffbba0233b56508ab95c5fb69167ce
parent24d6b776bc7f5608d7e553f361eb79f2dcf6d7f7
logging: add numbered INFO* log level values

Summary:
Define INFO0 through INFO9 levels for users that want to have finer-grained
control over info log messages.

This also renumbers the DBG log levels slightly so that there are exactly 1000
levels between each major log level step.  This renumbering change should not
affect any code behavior, since these level values are primarily used in memory
and aren't saved persistently anywhere.

Reviewed By: yfeldblum

Differential Revision: D6690466

fbshipit-source-id: acd499cff6830a1d1b579f295bd4b2bac93b5ada
folly/experimental/logging/LogLevel.cpp
folly/experimental/logging/LogLevel.h
folly/experimental/logging/test/LogLevelTest.cpp