diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-06-20 00:22:50 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-06-20 10:56:02 -0400 |
commit | 9c2ed42daa8fbbef4a919c21ec564e2db55e8d60 (patch) | |
tree | 3814f79c10d7b490948d8cb7b112ac1dd41ceff1 /src/mongo/logger/console.h | |
parent | 01965cf52bce6976637ecb8f4a622aeb05ab256a (diff) | |
download | mongo-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.h | 46 |
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 |