blob: 6be3b81f3e108b17541f5485104249f8b92180d9 [file] [log] [blame]
Todd Fiala75930012016-08-19 04:21:48 +00001//===-- 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
23using DarwinLogEvent = JSONGenerator::Dictionary;
24using DarwinLogEventSP = std::shared_ptr<DarwinLogEvent>;
25using DarwinLogEventVector = std::vector<DarwinLogEventSP>;
26
27#endif