Index: third_party/mojo/src/mojo/public/cpp/environment/lib/default_logger.cc |
diff --git a/third_party/mojo/src/mojo/public/cpp/environment/lib/default_logger.cc b/third_party/mojo/src/mojo/public/cpp/environment/lib/default_logger.cc |
index ba787d13529b2f61a98542906eb03e891d476191..05cafbd7ea73099bc89a296d885c83d66d719c1f 100644 |
--- a/third_party/mojo/src/mojo/public/cpp/environment/lib/default_logger.cc |
+++ b/third_party/mojo/src/mojo/public/cpp/environment/lib/default_logger.cc |
@@ -38,20 +38,12 @@ const char* GetLogLevelString(MojoLogLevel log_level) { |
return "FATAL"; |
} |
-void LogMessage(MojoLogLevel log_level, |
- const char* source_file, |
- uint32_t source_line, |
- const char* message) { |
+void LogMessage(MojoLogLevel log_level, const char* message) { |
if (log_level < g_minimum_log_level) |
return; |
// TODO(vtl): Add timestamp also? |
- if (source_file) { |
- fprintf(stderr, "%s: %s(%u): %s\n", GetLogLevelString(log_level), |
- source_file, static_cast<unsigned>(source_line), message); |
- } else { |
- fprintf(stderr, "%s: %s\n", GetLogLevelString(log_level), message); |
- } |
+ fprintf(stderr, "%s: %s\n", GetLogLevelString(log_level), message); |
if (log_level >= MOJO_LOG_LEVEL_FATAL) |
abort(); |
} |