Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3349)

Unified Diff: base/debug/trace_event_impl.h

Issue 18174006: Allow tracing to console everywhere. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/command_line.cc ('k') | base/debug/trace_event_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/trace_event_impl.h
diff --git a/base/debug/trace_event_impl.h b/base/debug/trace_event_impl.h
index c189b37b23eccb2cf970c051c14b5135a735b3fe..0449090bb2d8c1e3c2057bc3794e0f0c3b1fedce 100644
--- a/base/debug/trace_event_impl.h
+++ b/base/debug/trace_event_impl.h
@@ -101,6 +101,7 @@ class BASE_EXPORT TraceEvent {
size_t count,
std::string* out);
void AppendAsJSON(std::string* out) const;
+ void AppendPrettyPrinted(std::ostringstream* out) const;
static void AppendValueAsJSON(unsigned char type,
TraceValue value,
@@ -290,8 +291,8 @@ class BASE_EXPORT TraceLog {
// Enable the sampling profiler.
ENABLE_SAMPLING = 1 << 2,
- // Echo to VLOG. Events are discared.
- ECHO_TO_VLOG = 1 << 3
+ // Echo to console. Events are discared.
+ ECHO_TO_CONSOLE = 1 << 3
};
static TraceLog* GetInstance();
« no previous file with comments | « base/command_line.cc ('k') | base/debug/trace_event_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698