![]() |
v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <log-utils.h>
Public Member Functions | |
| void | Initialize () |
| void | stop () |
| FILE * | Close () |
| bool | IsEnabled () |
Static Public Attributes | |
| static const int | kMessageBufferSize = 2048 |
| static const char *const | kLogToTemporaryFile = "&" |
Friends | |
| class | Logger |
| class | LogMessageBuilder |
Definition at line 39 of file log-utils.h.
| FILE * Close | ( | ) |
Definition at line 173 of file log-utils.cc.
References v8::internal::DeleteArray(), Log::kLogToTemporaryFile, and v8::internal::NULL.
Referenced by Logger::TearDown().
| void Initialize | ( | ) |
Definition at line 57 of file log-utils.cc.
References StringStream::Add(), OS::CreateMutex(), Log::kLogToTemporaryFile, Log::kMessageBufferSize, v8::internal::NULL, StringStream::Put(), OS::TimeCurrentMillis(), and StringStream::ToCString().
Referenced by Logger::SetUp().
|
inline |
Definition at line 53 of file log-utils.h.
References v8::internal::NULL.
Referenced by Logger::ApiEntryCall(), Logger::ApiIndexedPropertyAccess(), Logger::ApiIndexedSecurityCheck(), Logger::ApiNamedPropertyAccess(), Logger::ApiNamedSecurityCheck(), Logger::ApiObjectAccess(), Logger::CallbackEvent(), Logger::CodeCreateEvent(), Logger::CodeDeleteEvent(), Logger::CodeMoveEvent(), Logger::CodeMovingGCEvent(), Logger::DebugEvent(), Logger::DebugTag(), Logger::DeleteEvent(), Logger::GetterCallbackEvent(), Logger::HandleEvent(), Logger::HeapSampleBeginEvent(), Logger::HeapSampleEndEvent(), Logger::HeapSampleItemEvent(), Logger::LogRuntime(), Logger::NewEvent(), Logger::PauseProfiler(), Logger::RegExpCodeCreateEvent(), Logger::RegExpCompileEvent(), Logger::ResourceEvent(), Logger::ResumeProfiler(), Logger::SetterCallbackEvent(), Logger::SharedLibraryEvent(), Logger::SnapshotPositionEvent(), and Logger::SuspectReadEvent().
|
inline |
Definition at line 45 of file log-utils.h.
|
friend |
Definition at line 106 of file log-utils.h.
|
friend |
Definition at line 107 of file log-utils.h.
|
static |
Definition at line 62 of file log-utils.h.
Referenced by Log::Close(), and Log::Initialize().
|
static |
Definition at line 58 of file log-utils.h.
Referenced by Log::Initialize().