v8  8.4.371 (node 14.15.5)
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)
 

Detailed Description

Definition at line 117 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

◆ Flush()

virtual void Flush ( )
pure virtual

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