1 //===-- DarwinLogEvent.h ----------------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLDB_TOOLS_DEBUGSERVER_SOURCE_MACOSX_DARWINLOG_DARWINLOGEVENT_H
10 #define LLDB_TOOLS_DEBUGSERVER_SOURCE_MACOSX_DARWINLOG_DARWINLOGEVENT_H
11 
12 #include <memory>
13 #include <vector>
14 
15 #include "JSONGenerator.h"
16 
17 // =============================================================================
18 /// Each discrete unit of information is described as an event, such as
19 /// the emission of a single log message.
20 // =============================================================================
21 
22 using DarwinLogEvent = JSONGenerator::Dictionary;
23 using DarwinLogEventSP = std::shared_ptr<DarwinLogEvent>;
24 using DarwinLogEventVector = std::vector<DarwinLogEventSP>;
25 
26 #endif
27