v8  9.0.257(node16.0.0)
V8 is Google's open source JavaScript engine
logging.h File Reference
#include "cppgc/source-location.h"
#include "v8config.h"
Include dependency graph for logging.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  EatParams< typename >
 

Namespaces

 cppgc
 
 cppgc::internal
 

Macros

#define CPPGC_DCHECK_MSG(condition, message)
 
#define CPPGC_DCHECK(condition)   CPPGC_DCHECK_MSG(condition, #condition)
 
#define CPPGC_CHECK_MSG(condition, message)
 
#define CPPGC_CHECK(condition)   CPPGC_CHECK_MSG(condition, #condition)
 

Functions

void V8_EXPORT DCheckImpl (const char *, const SourceLocation &=SourceLocation::Current())
 
void V8_EXPORT FatalImpl (const char *, const SourceLocation &=SourceLocation::Current())
 

Macro Definition Documentation

◆ CPPGC_CHECK

#define CPPGC_CHECK (   condition)    CPPGC_CHECK_MSG(condition, #condition)

Definition at line 45 of file logging.h.

◆ CPPGC_CHECK_MSG

#define CPPGC_CHECK_MSG (   condition,
  message 
)
Value:
do { \
if (V8_UNLIKELY(!(condition))) { \
} \
} while (false)

Definition at line 38 of file logging.h.

◆ CPPGC_DCHECK

#define CPPGC_DCHECK (   condition)    CPPGC_DCHECK_MSG(condition, #condition)

Definition at line 36 of file logging.h.

◆ CPPGC_DCHECK_MSG

#define CPPGC_DCHECK_MSG (   condition,
  message 
)
Value:
(static_cast<void>(::cppgc::internal::EatParams<decltype( \
static_cast<void>(condition), message)>{}))

Definition at line 31 of file logging.h.

V8_UNLIKELY
#define V8_UNLIKELY(condition)
Definition: v8config.h:443
cppgc::internal::FatalImpl
void V8_EXPORT FatalImpl(const char *, const SourceLocation &=SourceLocation::Current())
cppgc::internal::EatParams
Definition: logging.h:21