#include "absl/log/internal/globals.h"
#include <atomic>
#include <cstdio>
#if defined(__EMSCRIPTEN__)
#include <emscripten/console.h>
#endif
#include "absl/base/attributes.h"
#include "absl/base/config.h"
#include "absl/base/internal/raw_logging.h"
#include "absl/base/log_severity.h"
#include "absl/strings/string_view.h"
#include "absl/strings/strip.h"
#include "absl/time/time.h"
namespace absl {
ABSL_NAMESPACE_BEGIN
namespace log_internal {
namespace {
ABSL_CONST_INIT std::atomic<bool> logging_initialized(false);
ABSL_CONST_INIT std::atomic<absl::TimeZone*> timezone_ptr{ … };
ABSL_CONST_INIT std::atomic<bool> symbolize_stack_trace(true);
ABSL_CONST_INIT std::atomic<int> max_frames_in_stack_trace(64);
ABSL_CONST_INIT std::atomic<bool> exit_on_dfatal(true);
ABSL_CONST_INIT std::atomic<bool> suppress_sigabort_trace(false);
}
bool IsInitialized() { … }
void SetInitialized() { … }
void WriteToStderr(absl::string_view message, absl::LogSeverity severity) { … }
void SetTimeZone(absl::TimeZone tz) { … }
const absl::TimeZone* TimeZone() { … }
bool ShouldSymbolizeLogStackTrace() { … }
void EnableSymbolizeLogStackTrace(bool on_off) { … }
int MaxFramesInLogStackTrace() { … }
void SetMaxFramesInLogStackTrace(int max_num_frames) { … }
bool ExitOnDFatal() { … }
void SetExitOnDFatal(bool on_off) { … }
bool SuppressSigabortTrace() { … }
bool SetSuppressSigabortTrace(bool on_off) { … }
}
ABSL_NAMESPACE_END
}