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/logger/custom_logger_options.hpp>
9 : #include <wlogjson/basic_logger_options_json.hpp>
10 : #include <wjson/json.hpp>
11 : #include <wjson/name.hpp>
12 :
13 : namespace wlog{
14 :
15 : struct custom_logger_options_json
16 : {
17 4 : JSON_NAME(names)
18 :
19 : typedef wjson::object<
20 : custom_logger_options,
21 : wjson::member_list<
22 : wjson::member<n_names, custom_logger_options, std::vector<std::string>,
23 : &custom_logger_options::names, wjson::vector_of_strings<> >,
24 : wjson::base<basic_logger_options_json>
25 : >,
26 : wjson::strict_mode
27 : > type;
28 : typedef type::serializer serializer;
29 : typedef type::target target;
30 : typedef type::member_list member_list;
31 : };
32 :
33 :
34 : }
|