forked from snakster/cpp.react
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLogging.h
More file actions
31 lines (21 loc) · 1014 Bytes
/
Logging.h
File metadata and controls
31 lines (21 loc) · 1014 Bytes
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
28
29
30
31
// Copyright Sebastian Jeckel 2014.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef REACT_DETAIL_LOGGING_LOGGING_H_INCLUDED
#define REACT_DETAIL_LOGGING_LOGGING_H_INCLUDED
#pragma once
#include "react/detail/Defs.h"
#include <iostream>
/***************************************/ REACT_IMPL_BEGIN /**************************************/
///////////////////////////////////////////////////////////////////////////////////////////////////
/// IEventRecord
///////////////////////////////////////////////////////////////////////////////////////////////////
struct IEventRecord
{
virtual ~IEventRecord() {}
virtual const char* EventId() const = 0;
virtual void Serialize(std::ostream& out) const = 0;
};
/****************************************/ REACT_IMPL_END /***************************************/
#endif // REACT_DETAIL_LOGGING_LOGGING_H_INCLUDED