5#ifndef INCLUDE_CPPGC_INTERNAL_LOGGING_H_
6#define INCLUDE_CPPGC_INTERNAL_LOGGING_H_
8#include "cppgc/source-location.h"
15 SourceLocation = SourceLocation::Current());
17FatalImpl(
const char*, SourceLocation = SourceLocation::Current());
23#ifdef CPPGC_ENABLE_API_CHECKS
24#define CPPGC_DCHECK_MSG(condition, message)
26 if (V8_UNLIKELY(!(condition))) {
27 ::cppgc::internal::DCheckImpl(message);
31#define CPPGC_DCHECK_MSG(condition, message)
32 (static_cast<void>(::cppgc::internal::EatParams<decltype(
33 static_cast<void>(condition), message)>{}))
38#define CPPGC_CHECK_MSG(condition, message)
41 ::cppgc::internal::FatalImpl(message);
#define CPPGC_DCHECK_MSG(condition, message)
#define CPPGC_CHECK_MSG(condition, message)
void V8_EXPORT DCheckImpl(const char *, SourceLocation=SourceLocation::Current())
void V8_EXPORT FatalImpl(const char *, SourceLocation=SourceLocation::Current())
#define V8_UNLIKELY(condition)