Revert "Add LOG_SILENT LogPriority"

This reverts commit 9a40a107f8.

Reason for revert: Elfin has stricter compiler settings than other platforms and breaks when this is checked in.

Change-Id: I169a43ff6b9d90101276690b1d3aae7865946eb0
This commit is contained in:
John Bruce
2019-03-06 18:57:04 +00:00
parent 9a40a107f8
commit aa8d0a5d31

View File

@@ -14,15 +14,11 @@ namespace wvcdm {
// Simple logging class. The implementation is platform dependent. // Simple logging class. The implementation is platform dependent.
typedef enum { typedef enum {
// This log level should only be used for |g_cutoff|, in order to silence all LOG_ERROR,
// logging. It should never be passed to |Log()| as a log level. LOG_WARN,
LOG_SILENT = -1, LOG_INFO,
LOG_DEBUG,
LOG_ERROR = 0, LOG_VERBOSE
LOG_WARN = 1,
LOG_INFO = 2,
LOG_DEBUG = 3,
LOG_VERBOSE = 4,
} LogPriority; } LogPriority;
extern LogPriority g_cutoff; extern LogPriority g_cutoff;