MCPcopy Create free account
hub / github.com/android/ndk-samples / SetMinimumLogSeverity

Function SetMinimumLogSeverity

base/src/main/cpp/logging.cpp:282–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280}
281
282LogSeverity SetMinimumLogSeverity(LogSeverity new_severity) {
283 LogSeverity old_severity = gMinimumLogSeverity;
284 gMinimumLogSeverity = new_severity;
285 return old_severity;
286}
287
288ScopedLogSeverity::ScopedLogSeverity(LogSeverity new_severity) {
289 old_ = SetMinimumLogSeverity(new_severity);

Callers 3

InitLoggingFunction · 0.85
ScopedLogSeverityMethod · 0.85
~ScopedLogSeverityMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected