Review URL: http://codereview.chromium.org/8655
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@621
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
void Logger::Preamble(const char* content) {
#ifdef ENABLE_LOGGING_AND_PROFILING
- if (logfile_ == NULL || !FLAG_log) return;
+ if (logfile_ == NULL || !FLAG_log_code) return;
ScopedLock sl(mutex_);
fprintf(logfile_, "%s", content);
#endif
// Write a raw string to the log to be used as a preamble.
// No check is made that the 'preamble' is actually at the beginning
- // of the log.
+ // of the log. The preample is used to write code events saved in the
+ // snapshot.
static void Preamble(const char* content);
// ==== Events that are always logged. ====