Index: mojo/public/cpp/environment/lib/logging.cc |
diff --git a/mojo/public/cpp/environment/lib/logging.cc b/mojo/public/cpp/environment/lib/logging.cc |
index 57f18924820ebe8bbbd156f8df1b796f31fbcf26..91f0ef5095a3d16fa822e7a8cd73325c5c0c62df 100644 |
--- a/mojo/public/cpp/environment/lib/logging.cc |
+++ b/mojo/public/cpp/environment/lib/logging.cc |
@@ -32,6 +32,9 @@ const char* GetFilename(const char* s) { |
// TODO(vtl): Maybe we should preserve the full path and strip it out at a |
// different level instead? |
+// TODO(vardhan): Should we make a timestamp part of the LogMessage? Since we |
+// emit log messages only when we go out of scope, we won't know exactly when |
+// log messages are issued. |
LogMessage::LogMessage(MojoLogLevel log_level, const char* file, int line) |
: log_level_(log_level), file_(GetFilename(file)), line_(line) { |
} |