v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Log Class Reference

#include <log-utils.h>

Data Structures

class  BASE_EMBEDDED
 

Public Member Functions

void Initialize (const char *log_file_name)
 
void stop ()
 
FILE * Close ()
 
bool IsEnabled ()
 

Static Public Member Functions

static bool InitLogAtStart ()
 

Static Public Attributes

static const int kMessageBufferSize = 2048
 
static const char *const kLogToTemporaryFile = "&"
 
static const char *const kLogToConsole = "-"
 

Friends

class Logger
 

Detailed Description

Definition at line 39 of file log-utils.h.

Member Function Documentation

FILE * Close ( )

Definition at line 98 of file log-utils.cc.

References v8::internal::DeleteArray(), Log::kLogToTemporaryFile, and v8::internal::NULL.

Referenced by Logger::TearDown().

void Initialize ( const char *  log_file_name)
static bool InitLogAtStart ( )
inlinestatic

Definition at line 47 of file log-utils.h.

Referenced by Log::Initialize(), and Logger::SetUp().

void stop ( )
inline

Definition at line 45 of file log-utils.h.

Friends And Related Function Documentation

friend class Logger
friend

Definition at line 154 of file log-utils.h.

Field Documentation

const char *const kLogToConsole = "-"
static

Definition at line 70 of file log-utils.h.

Referenced by Log::Initialize().

const char *const kLogToTemporaryFile = "&"
static

Definition at line 69 of file log-utils.h.

Referenced by Log::Close(), and Log::Initialize().

const int kMessageBufferSize = 2048
static

Definition at line 65 of file log-utils.h.

Referenced by Log::Initialize().


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