summaryrefslogtreecommitdiff
path: root/tools/debugserver/source/MacOSX/DarwinLog/DarwinLogEvent.h
blob: 6be3b81f3e108b17541f5485104249f8b92180d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//===-- DarwinLogEvent.h ----------------------------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef DarwinLogEvent_h
#define DarwinLogEvent_h

#include <memory>
#include <vector>

#include "JSONGenerator.h"

// =============================================================================
/// Each discrete unit of information is described as an event, such as
/// the emission of a single log message.
// =============================================================================

using DarwinLogEvent = JSONGenerator::Dictionary;
using DarwinLogEventSP = std::shared_ptr<DarwinLogEvent>;
using DarwinLogEventVector = std::vector<DarwinLogEventSP>;

#endif