Line data Source code
1 : //
2 : // Author: Vladimir Migashko <migashko@gmail.com>, (C) 2013-2016
3 : //
4 : // Copyright: See COPYING file that comes with this distribution
5 : //
6 :
7 : #include <wfc/module/component_list.hpp>
8 : #include <wfc/name.hpp>
9 :
10 : #include "logger_module.hpp"
11 : #include "logger/logger_singleton.hpp"
12 :
13 : namespace wfc{ namespace core{
14 :
15 : namespace
16 : {
17 0 : WFC_NAME2(module_name, "logger")
18 0 : class impl: public ::wfc::component_list
19 : <
20 : module_name,
21 : logger_singleton
22 : >
23 : {
24 0 : virtual std::string description() const override
25 : {
26 0 : return "Оne-component module";
27 : }
28 : };
29 : }
30 :
31 0 : logger_module::logger_module()
32 0 : : module( std::make_shared<impl>() )
33 : {
34 0 : }
35 :
36 3 : }}
|