| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Logging macros, similar to Chromium's base/logging.h, except with |MOJO_| | 5 // Logging macros, similar to Chromium's base/logging.h, except with |MOJO_| |
| 6 // prefixes and missing some features (notably |CHECK_EQ()|, etc.). | 6 // prefixes and missing some features (notably |CHECK_EQ()|, etc.). |
| 7 | 7 |
| 8 // TODO(vtl): It's weird that this is in the environment directory, since its | 8 // TODO(vtl): It's weird that this is in the environment directory, since its |
| 9 // implementation (in environment/lib) is meant to be used by any implementation | 9 // implementation (in environment/lib) is meant to be used by any implementation |
| 10 // of the environment. | 10 // of the environment. |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 // Used to ignore a stream. | 81 // Used to ignore a stream. |
| 82 struct VoidifyOstream { | 82 struct VoidifyOstream { |
| 83 // Use & since it has precedence lower than << but higher than ?:. | 83 // Use & since it has precedence lower than << but higher than ?:. |
| 84 void operator&(std::ostream&) {} | 84 void operator&(std::ostream&) {} |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 } // namespace internal | 87 } // namespace internal |
| 88 } // namespace mojo | 88 } // namespace mojo |
| 89 | 89 |
| 90 #endif // MOJO_PUBLIC_CPP_ENVIRONMENT_LOGGING_H_ | 90 #endif // MOJO_PUBLIC_CPP_ENVIRONMENT_LOGGING_H_ |
| OLD | NEW |