Commit 89353dca authored by Adam Simpkins's avatar Adam Simpkins Committed by Facebook Github Bot

logging: remove comment about LogLevel::ERROR

Summary:
The logging code used to support a LogLevel::ERROR value on non-Windows
platforms.  I removed it in D5288600 to make all platforms consistent, but I
forgot to remove this comment describing it.

Reviewed By: bolinfest

Differential Revision: D6341244

fbshipit-source-id: 054427d342066f354c859b12611b907dc2d4fa35
parent 01d4b7d6
......@@ -56,11 +56,8 @@ enum class LogLevel : uint32_t {
WARN = 3000,
WARNING = 3000,
// Unfortunately Windows headers #define ERROR
// On Windows platforms we avoid defining ERROR. However we make it
// available on other platforms, to make it easier to convert code from
// other log libraries that also use ERROR as their log level name (e.g.,
// glog).
// Unfortunately Windows headers #define ERROR, so we cannot use
// it as an enum value name. We only provide ERR instead.
ERR = 4000,
CRITICAL = 5000,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment