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 <wlogjson/basic_logger_options_json.hpp>
9 : #include <wlogjson/custom_logger_options_json.hpp>
10 : #include <wlog/logger/logger_options.hpp>
11 : #include <wjson/json.hpp>
12 : #include <wjson/name.hpp>
13 :
14 : namespace wlog{
15 : struct logger_options_json
16 : {
17 2 : JSON_NAME(customize)
18 : typedef wjson::object<
19 : logger_options,
20 : wjson::member_list<
21 : wjson::base<basic_logger_options_json>,
22 : wjson::member<n_customize, logger_options, logger_options::customize_list, &logger_options::customize, wjson::vector_of<custom_logger_options_json> >
23 : >,
24 : wjson::strict_mode
25 : > type;
26 : typedef type::serializer serializer;
27 : typedef type::target target;
28 : typedef type::member_list member_list;
29 : };
30 :
31 : }
|