mediapipe/mediapipe/util/log_fatal_to_breakpad.h
Camillo Lugaresi 7894c92ab7 Internal change
PiperOrigin-RevId: 502709070
2023-01-17 15:51:07 -08:00

16 lines
450 B
C++

#ifndef MEDIAPIPE_UTIL_LOG_FATAL_TO_BREAKPAD_H_
#define MEDIAPIPE_UTIL_LOG_FATAL_TO_BREAKPAD_H_
#include "absl/log/log_sink.h"
namespace mediapipe {
// Returns a singleton instance of a log sink that sends FATAL log messages to
// Breakpad. This log sink is enabled by default when this library is included
// in your binary.
absl::LogSink* GetBreakpadFatalLogSink();
} // namespace mediapipe
#endif // MEDIAPIPE_UTIL_LOG_FATAL_TO_BREAKPAD_H_