From aa8d0a5d31ead237a440c13e2dd1a579f4b0c358 Mon Sep 17 00:00:00 2001 From: John Bruce Date: Wed, 6 Mar 2019 18:57:04 +0000 Subject: [PATCH] Revert "Add LOG_SILENT LogPriority" This reverts commit 9a40a107f82e8c5c611e62266fd01478931a5eb4. Reason for revert: Elfin has stricter compiler settings than other platforms and breaks when this is checked in. Change-Id: I169a43ff6b9d90101276690b1d3aae7865946eb0 --- libwvdrmengine/cdm/util/include/log.h | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/libwvdrmengine/cdm/util/include/log.h b/libwvdrmengine/cdm/util/include/log.h index d79ff001..ce390a0a 100644 --- a/libwvdrmengine/cdm/util/include/log.h +++ b/libwvdrmengine/cdm/util/include/log.h @@ -14,15 +14,11 @@ namespace wvcdm { // Simple logging class. The implementation is platform dependent. typedef enum { - // This log level should only be used for |g_cutoff|, in order to silence all - // logging. It should never be passed to |Log()| as a log level. - LOG_SILENT = -1, - - LOG_ERROR = 0, - LOG_WARN = 1, - LOG_INFO = 2, - LOG_DEBUG = 3, - LOG_VERBOSE = 4, + LOG_ERROR, + LOG_WARN, + LOG_INFO, + LOG_DEBUG, + LOG_VERBOSE } LogPriority; extern LogPriority g_cutoff;