v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#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 |
Definition at line 39 of file log-utils.h.
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 | ) |
Definition at line 49 of file log-utils.cc.
References Log::InitLogAtStart(), Log::kLogToConsole, Log::kLogToTemporaryFile, and Log::kMessageBufferSize.
Referenced by Logger::SetUp().
|
inlinestatic |
Definition at line 47 of file log-utils.h.
Referenced by Log::Initialize(), and Logger::SetUp().
|
inline |
Definition at line 60 of file log-utils.h.
References v8::internal::NULL.
Referenced by Logger::ApiEntryCall(), Logger::ApiIndexedPropertyAccess(), Logger::ApiIndexedSecurityCheck(), Logger::ApiNamedPropertyAccess(), Logger::ApiNamedSecurityCheck(), Logger::ApiObjectAccess(), Logger::CodeCreateEvent(), Logger::CodeDeleteEvent(), Logger::CodeDeoptEvent(), Logger::CodeMovingGCEvent(), Logger::DebugEvent(), Logger::DebugTag(), Logger::DeleteEvent(), Logger::HandleEvent(), Logger::HeapSampleBeginEvent(), Logger::HeapSampleEndEvent(), Logger::HeapSampleItemEvent(), Logger::LogRuntime(), Logger::NewEvent(), Logger::RegExpCodeCreateEvent(), Logger::RegExpCompileEvent(), Logger::ResourceEvent(), Logger::SharedLibraryEvent(), Logger::SnapshotPositionEvent(), Logger::StopProfiler(), Logger::SuspectReadEvent(), and Logger::TimerEvent().
|
inline |
Definition at line 45 of file log-utils.h.
|
friend |
Definition at line 154 of file log-utils.h.
|
static |
Definition at line 70 of file log-utils.h.
Referenced by Log::Initialize().
|
static |
Definition at line 69 of file log-utils.h.
Referenced by Log::Close(), and Log::Initialize().
|
static |
Definition at line 65 of file log-utils.h.
Referenced by Log::Initialize().