summaryrefslogtreecommitdiff
path: root/src/logging_linux.cc
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2011-10-07 14:31:02 -0700
committer Elliott Hughes <enh@google.com> 2011-10-07 15:08:48 -0700
commitf5a7a476e7ea63e094ff0f011dccc170607e6f6b (patch)
tree4f07e57d5e3d2a82eeefcb7c6409f36b383b1d96 /src/logging_linux.cc
parentc2858561314513cc7bce2da7e13664aefef5a2ac (diff)
Enhance CHECK_EQ and friends to allow extra detail to be appended (like CHECK).
Change-Id: Iaa980892ab31621c8bcca9ea7c6c4ee743333f45
Diffstat (limited to 'src/logging_linux.cc')
-rw-r--r--src/logging_linux.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/logging_linux.cc b/src/logging_linux.cc
index fd12b98ed5..d62649b4ae 100644
--- a/src/logging_linux.cc
+++ b/src/logging_linux.cc
@@ -25,6 +25,8 @@
#include "stringprintf.h"
#include "utils.h"
+namespace art {
+
LogMessage::LogMessage(const char* file, int line, LogSeverity severity, int error)
: line_number_(line), severity_(severity), errno_(error)
{
@@ -36,3 +38,5 @@ void LogMessage::LogLine(const char* line) {
std::cerr << "IWEF"[severity_] << ' ' << StringPrintf("%5d %5d", getpid(), ::art::GetTid()) << ' '
<< file_ << ':' << line_number_ << "] " << line << std::endl;
}
+
+} // namespace art