summaryrefslogtreecommitdiff
path: root/src/mongo/util/stacktrace.h
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2015-07-28 18:16:39 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2015-07-28 18:27:27 -0400
commitb66e993f1c742518d9b5e93b0d8a5f8255a4127c (patch)
tree55e6fed05333d2d37f34586726a342ed7f7dbc29 /src/mongo/util/stacktrace.h
parent314a22e93f283ab80e650618cbd3ed8babb8510f (diff)
downloadmongo-b66e993f1c742518d9b5e93b0d8a5f8255a4127c.tar.gz
SERVER-18579: Clang-Format - reformat code, no comment reflow
Diffstat (limited to 'src/mongo/util/stacktrace.h')
-rw-r--r--src/mongo/util/stacktrace.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mongo/util/stacktrace.h b/src/mongo/util/stacktrace.h
index 9fc307f8cac..dcd543b1cc1 100644
--- a/src/mongo/util/stacktrace.h
+++ b/src/mongo/util/stacktrace.h
@@ -44,24 +44,24 @@
namespace mongo {
- /**
- * Returns a log stream builder suitable for printStackTrace() default argument
- * Do not use in any other context.
- */
- inline logger::LogstreamBuilder getStackTraceLogger() {
- using namespace logger;
- return LogstreamBuilder(globalLogDomain(), getThreadName(), LogSeverity::Log());
- }
+/**
+ * Returns a log stream builder suitable for printStackTrace() default argument
+ * Do not use in any other context.
+ */
+inline logger::LogstreamBuilder getStackTraceLogger() {
+ using namespace logger;
+ return LogstreamBuilder(globalLogDomain(), getThreadName(), LogSeverity::Log());
+}
- // Print stack trace information to "os", default to the log stream.
- void printStackTrace(std::ostream &os=getStackTraceLogger().stream());
+// Print stack trace information to "os", default to the log stream.
+void printStackTrace(std::ostream& os = getStackTraceLogger().stream());
#if defined(_WIN32)
- // Print stack trace (using a specified stack context) to "os", default to the log stream.
- void printWindowsStackTrace(CONTEXT &context, std::ostream &os=getStackTraceLogger().stream());
+// Print stack trace (using a specified stack context) to "os", default to the log stream.
+void printWindowsStackTrace(CONTEXT& context, std::ostream& os = getStackTraceLogger().stream());
- // Print error message from C runtime followed by stack trace
- int crtDebugCallback(int, char* originalMessage, int*);
+// Print error message from C runtime followed by stack trace
+int crtDebugCallback(int, char* originalMessage, int*);
#endif
} // namespace mongo