v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::torque::Logger Class Reference

#include <globals.h>

Inheritance diagram for v8::internal::torque::Logger:
Collaboration diagram for v8::internal::torque::Logger:

Public Member Functions

 Logger ()
 
 ~Logger ()
 

Static Public Member Functions

static void Enable (std::string path)
 
template<class... Args>
static void Log (Args &&... args)
 
- Static Public Member Functions inherited from v8::base::ContextualVariable< Derived, VarType >
static VarType & Get ()
 
static bool HasScope ()
 

Static Private Member Functions

static bool Enabled ()
 
static std::ofstream & Stream ()
 
static void Flush ()
 

Private Attributes

bool enabled_
 
std::ofstream logfile_
 

Additional Inherited Members

- Public Types inherited from v8::base::ContextualVariable< Derived, VarType >
using VarT = VarType
 

Detailed Description

Definition at line 20 of file globals.h.

Constructor & Destructor Documentation

◆ Logger()

v8::internal::torque::Logger::Logger ( )
inline

Definition at line 22 of file globals.h.

◆ ~Logger()

v8::internal::torque::Logger::~Logger ( )
inline

Definition at line 23 of file globals.h.

Member Function Documentation

◆ Enable()

static void v8::internal::torque::Logger::Enable ( std::string path)
inlinestatic

Definition at line 27 of file globals.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Enabled()

static bool v8::internal::torque::Logger::Enabled ( )
inlinestaticprivate

Definition at line 41 of file globals.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Flush()

static void v8::internal::torque::Logger::Flush ( )
inlinestaticprivate

Definition at line 46 of file globals.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Log()

template<class... Args>
static void v8::internal::torque::Logger::Log ( Args &&... args)
inlinestatic

Definition at line 33 of file globals.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Stream()

static std::ofstream & v8::internal::torque::Logger::Stream ( )
inlinestaticprivate

Definition at line 42 of file globals.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ enabled_

bool v8::internal::torque::Logger::enabled_
private

Definition at line 49 of file globals.h.

◆ logfile_

std::ofstream v8::internal::torque::Logger::logfile_
private

Definition at line 50 of file globals.h.


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