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