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

#include <v8-tracing.h>

Public Member Functions

 TraceWriter ()
 
virtual ~TraceWriter ()
 
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 107 of file v8-tracing.h.

Constructor & Destructor Documentation

◆ TraceWriter()

TraceWriter ( )
inline

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

◆ ~TraceWriter()

virtual ~TraceWriter ( )
inlinevirtual

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

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: