summaryrefslogtreecommitdiff
path: root/src/mongo/logger/console.h
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2015-06-20 00:22:50 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2015-06-20 10:56:02 -0400
commit9c2ed42daa8fbbef4a919c21ec564e2db55e8d60 (patch)
tree3814f79c10d7b490948d8cb7b112ac1dd41ceff1 /src/mongo/logger/console.h
parent01965cf52bce6976637ecb8f4a622aeb05ab256a (diff)
downloadmongo-9c2ed42daa8fbbef4a919c21ec564e2db55e8d60.tar.gz
SERVER-18579: Clang-Format - reformat code, no comment reflow
Diffstat (limited to 'src/mongo/logger/console.h')
-rw-r--r--src/mongo/logger/console.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/mongo/logger/console.h b/src/mongo/logger/console.h
index b86cb7f984f..8188ff9af03 100644
--- a/src/mongo/logger/console.h
+++ b/src/mongo/logger/console.h
@@ -33,28 +33,28 @@
namespace mongo {
- /**
- * Representation of the console. Use this in place of cout/cin, in applications that write to
- * the console from multiple threads (such as those that use the logging subsystem).
- *
- * The Console type is synchronized such that only one instance may be in the fully constructed
- * state at a time. Correct usage is to instantiate one, write or read from it as desired, and
- * then destroy it.
- *
- * The console streams accept UTF-8 encoded data, and attempt to write it to the attached
- * console faithfully.
- *
- * TODO(schwerin): If no console is attached on Windows (services), should writes here go to the
- * event logger?
- */
- class Console {
- public:
- Console();
-
- std::ostream& out();
-
- private:
- stdx::unique_lock<stdx::mutex> _consoleLock;
- };
+/**
+ * Representation of the console. Use this in place of cout/cin, in applications that write to
+ * the console from multiple threads (such as those that use the logging subsystem).
+ *
+ * The Console type is synchronized such that only one instance may be in the fully constructed
+ * state at a time. Correct usage is to instantiate one, write or read from it as desired, and
+ * then destroy it.
+ *
+ * The console streams accept UTF-8 encoded data, and attempt to write it to the attached
+ * console faithfully.
+ *
+ * TODO(schwerin): If no console is attached on Windows (services), should writes here go to the
+ * event logger?
+ */
+class Console {
+public:
+ Console();
+
+ std::ostream& out();
+
+private:
+ stdx::unique_lock<stdx::mutex> _consoleLock;
+};
} // namespace mongo