v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
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

namespace  cppgc
 
namespace  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))) { \
::cppgc::internal::FatalImpl(message); \
} \
} while (false)
#define V8_UNLIKELY(condition)
Definition v8config.h:617

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.