Todd Fiala | 7593001 | 2016-08-19 04:21:48 +0000 | [diff] [blame] | 1 | //===-- DarwinLogEvent.h ----------------------------------------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | #ifndef DarwinLogEvent_h |
| 11 | #define DarwinLogEvent_h |
| 12 | |
| 13 | #include <memory> |
| 14 | #include <vector> |
| 15 | |
| 16 | #include "JSONGenerator.h" |
| 17 | |
| 18 | // ============================================================================= |
| 19 | /// Each discrete unit of information is described as an event, such as |
| 20 | /// the emission of a single log message. |
| 21 | // ============================================================================= |
| 22 | |
| 23 | using DarwinLogEvent = JSONGenerator::Dictionary; |
| 24 | using DarwinLogEventSP = std::shared_ptr<DarwinLogEvent>; |
| 25 | using DarwinLogEventVector = std::vector<DarwinLogEventSP>; |
| 26 | |
| 27 | #endif |