OLD | NEW |
| (Empty) |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef BLIMP_COMMON_LOGGING_H_ | |
6 #define BLIMP_COMMON_LOGGING_H_ | |
7 | |
8 #include <ostream> | |
9 | |
10 #include "base/macros.h" | |
11 #include "blimp/common/blimp_common_export.h" | |
12 | |
13 namespace blimp { | |
14 | |
15 class BlimpMessage; | |
16 | |
17 // Serializes a BlimpMessage in a human-readable format for logging. | |
18 // An example message would look like: | |
19 // "<type=TAB_CONTROL subtype=SIZE size=640x480:1.000000 size=19>" | |
20 BLIMP_COMMON_EXPORT std::ostream& operator<<(std::ostream& out, | |
21 const BlimpMessage& message); | |
22 | |
23 } // namespace blimp | |
24 | |
25 #endif // BLIMP_COMMON_LOGGING_H_ | |
OLD | NEW |