Lines Matching full:level
28 EtwEventLevel level = TRACE_LEVEL_NONE;
30 // Convert the log severity to the most appropriate ETW trace level.
34 level = TRACE_LEVEL_INFORMATION;
37 level = TRACE_LEVEL_WARNING;
41 level = TRACE_LEVEL_ERROR;
44 level = TRACE_LEVEL_FATAL;
48 level = TRACE_LEVEL_INFORMATION - severity;
51 // Bail if we're not logging, not at that level,
54 if (provider == NULL || level > provider->enable_level())
59 EtwMofEvent<1> event(kLogEventId, LOG_MESSAGE, level);
74 EtwMofEvent<5> event(kLogEventId, LOG_MESSAGE_FULL, level);
114 // Grab the old log level so we can restore it later.
117 // Convert the new trace level to a logging severity
118 // and enable logging at that level.
119 EtwEventLevel level = enable_level();
120 if (level == TRACE_LEVEL_NONE || level == TRACE_LEVEL_FATAL) {
122 } else if (level == TRACE_LEVEL_ERROR) {
124 } else if (level == TRACE_LEVEL_WARNING) {
126 } else if (level == TRACE_LEVEL_INFORMATION) {
128 } else if (level >= TRACE_LEVEL_VERBOSE) {
130 SetMinLogLevel(TRACE_LEVEL_INFORMATION - level);
135 // Restore the old log level.