Index: src/log.h |
diff --git a/src/log.h b/src/log.h |
index 56cf93d5ffb05fc9b537ebfc08c914452a7bb746..c845feec1f9391763a663888d9750b480ab75c20 100644 |
--- a/src/log.h |
+++ b/src/log.h |
@@ -231,6 +231,9 @@ class Logger { |
// Logs a StringEvent regardless of whether FLAG_log is true. |
static void UncheckedStringEvent(const char* name, const char* value); |
+ // Stops logging and profiling in case of insufficient resources. |
+ static void StopLoggingAndProfiling(); |
+ |
// Returns whether profiler's sampler is active. |
static bool IsProfilerSamplerActive(); |