Line data Source code
1 : //
2 : // Author: Vladimir Migashko <migashko@gmail.com>, (C) 2017
3 : //
4 : // Copyright: See COPYING file that comes with this distribution
5 : //
6 : #pragma once
7 :
8 : #include <wlog/writer/syslog_writer_options.hpp>
9 : #include <wjson/json.hpp>
10 : #include <wjson/name.hpp>
11 :
12 : namespace wlog{
13 :
14 :
15 : struct syslog_writer_options_json
16 : {
17 6 : JSON_NAME(name)
18 : typedef wjson::object<
19 : syslog_writer_options,
20 : wjson::member_list<
21 : wjson::member<n_name, syslog_writer_options, std::string, &syslog_writer_options::name>
22 : >,
23 : wjson::strict_mode
24 : > type;
25 : typedef type::serializer serializer;
26 : typedef type::target target;
27 : typedef type::member_list member_list;
28 : };
29 :
30 :
31 : }
|