v8  10.1.124 (node 18.2.0)
V8 is Google's open source JavaScript engine
TraceWriter Class Referenceabstract

#include <v8-tracing.h>

Public Member Functions

 TraceWriter ()=default
 
virtual ~TraceWriter ()=default
 
virtual void AppendTraceEvent (TraceObject *trace_event)=0
 
virtual void Flush ()=0
 

Static Public Member Functions

static TraceWriterCreateJSONTraceWriter (std::ostream &stream)
 
static TraceWriterCreateJSONTraceWriter (std::ostream &stream, const std::string &tag)
 
static TraceWriterCreateSystemInstrumentationTraceWriter ()
 

Detailed Description

Definition at line 116 of file v8-tracing.h.

Constructor & Destructor Documentation

◆ TraceWriter()

TraceWriter ( )
default

◆ ~TraceWriter()

virtual ~TraceWriter ( )
virtualdefault

Member Function Documentation

◆ AppendTraceEvent()

virtual void AppendTraceEvent ( TraceObject trace_event)
pure virtual

◆ CreateJSONTraceWriter() [1/2]

static TraceWriter* CreateJSONTraceWriter ( std::ostream &  stream)
static

◆ CreateJSONTraceWriter() [2/2]

static TraceWriter* CreateJSONTraceWriter ( std::ostream &  stream,
const std::string &  tag 
)
static

◆ CreateSystemInstrumentationTraceWriter()

static TraceWriter* CreateSystemInstrumentationTraceWriter ( )
static

◆ Flush()

virtual void Flush ( )
pure virtual

The documentation for this class was generated from the following file: