Home
last modified time | relevance | path

Searched refs:sinks (Results 1 – 25 of 233) sorted by relevance

12345678910

/third_party/boost/libs/log/doc/tmp/
Dsinks_reference.qbk12 [template boost_log_sinks_async_frontend_hpp[][headerref boost/log/sinks/async_frontend.hpp]]
14 [template class_sinks_asynchronous_sink[][classref boost::log::sinks::asynchronous_sink asynchronou…
16 [template class_sinks_asynchronous_sink_scoped_flag[][classref boost::log::sinks::asynchronous_sink…
18 [template class_sinks_asynchronous_sink_scoped_thread_id[][classref boost::log::sinks::asynchronous…
20 [template boost_log_sinks_attribute_mapping_hpp[][headerref boost/log/sinks/attribute_mapping.hpp]]
22 [template class_sinks_basic_custom_mapping[][classref boost::log::sinks::basic_custom_mapping basic…
24 [template class_sinks_basic_direct_mapping[][classref boost::log::sinks::basic_direct_mapping basic…
26 [template class_sinks_basic_mapping[][classref boost::log::sinks::basic_mapping basic_mapping]]
28 [template boost_log_sinks_auto_newline_mode_hpp[][headerref boost/log/sinks/auto_newline_mode.hpp]]
30 [template boost_log_sinks_basic_sink_backend_hpp[][headerref boost/log/sinks/basic_sink_backend.hpp…
[all …]
/third_party/boost/libs/log/example/doc/
Dsinks_syslog.cpp25 namespace sinks = boost::log::sinks;
30 typedef sinks::synchronous_sink< sinks::syslog_backend > sink_t;
40 boost::shared_ptr< sinks::syslog_backend > backend(new sinks::syslog_backend( in init_native_syslog()
41 keywords::facility = sinks::syslog::user, /*< the logging facility >*/ in init_native_syslog()
42 …keywords::use_impl = sinks::syslog::native /*< the native syslog API should be used >… in init_native_syslog()
46 backend->set_severity_mapper(sinks::syslog::direct_severity_mapping< int >("Severity")); in init_native_syslog()
64 boost::shared_ptr< sinks::syslog_backend > backend(new sinks::syslog_backend( in init_builtin_syslog()
65 keywords::facility = sinks::syslog::local0, /*< the logging facility >*/ in init_builtin_syslog()
66 …keywords::use_impl = sinks::syslog::udp_socket_based /*< the built-in socket-based implementati… in init_builtin_syslog()
73 sinks::syslog::custom_severity_mapping< std::string > mapping("MyLevel"); in init_builtin_syslog()
[all …]
Dsinks_file.cpp20 namespace sinks = boost::log::sinks;
28 boost::shared_ptr< sinks::text_file_backend > backend = in init_logging()
29 boost::make_shared< sinks::text_file_backend >( in init_logging()
33 …keywords::time_based_rotation = sinks::file::rotation_at_time_point(12, 0, 0) /*< ...or every day… in init_logging()
38 typedef sinks::synchronous_sink< sinks::text_file_backend > sink_t; in init_logging()
Dsinks_simple_event_log.cpp26 namespace sinks = boost::log::sinks;
32 typedef sinks::synchronous_sink< sinks::simple_event_log_backend > sink_t;
56 sinks::event_log::custom_event_type_mapping< severity_level > mapping("Severity"); in init_logging()
57 mapping[normal] = sinks::event_log::info; in init_logging()
58 mapping[warning] = sinks::event_log::warning; in init_logging()
59 mapping[error] = sinks::event_log::error; in init_logging()
Dexpressions_has_attr_stat_accum.cpp26 namespace sinks = boost::log::sinks;
36 public sinks::basic_sink_backend< sinks::synchronized_feeding >
82 boost::shared_ptr< sinks::text_ostream_backend > backend = in init()
83 boost::make_shared< sinks::text_ostream_backend >(); in init()
88 typedef sinks::synchronous_sink< sinks::text_ostream_backend > log_sink_type; in init()
97 typedef sinks::synchronous_sink< my_stat_accumulator > stat_sink_type; in init()
Dsinks_multifile.cpp23 namespace sinks = boost::log::sinks;
31 boost::shared_ptr< sinks::text_multifile_backend > backend = in init_logging()
32 boost::make_shared< sinks::text_multifile_backend >(); in init_logging()
37sinks::file::as_file_name_composer(expr::stream << "logs/" << expr::attr< std::string >("RequestID… in init_logging()
42 typedef sinks::synchronous_sink< sinks::text_multifile_backend > sink_t; in init_logging()
Dsinks_async_bounded.cpp25 namespace sinks = boost::log::sinks;
37 typedef sinks::asynchronous_sink<
38 sinks::text_ostream_backend,
39sinks::bounded_fifo_queue< /*< log record queuei…
41sinks::drop_on_overflow /*< overflow handling pol…
50 boost::shared_ptr< sinks::text_ostream_backend > backend = in init_logging()
51 boost::make_shared< sinks::text_ostream_backend >(); in init_logging()
Dsinks_xml_file.cpp24 namespace sinks = boost::log::sinks;
28 typedef sinks::synchronous_sink< sinks::text_file_backend > file_sink;
33 sink->locked_backend()->set_file_collector(sinks::file::make_collector( in init_file_collecting()
45 typedef sinks::synchronous_sink< sinks::text_file_backend > file_sink;
47 void write_header(sinks::text_file_backend::stream_type& file)
52 void write_footer(sinks::text_file_backend::stream_type& file)
Dsinks_ostream.cpp21 namespace sinks = boost::log::sinks;
30 boost::shared_ptr< sinks::text_ostream_backend > backend = in init_logging()
31 boost::make_shared< sinks::text_ostream_backend >(); in init_logging()
42 typedef sinks::synchronous_sink< sinks::text_ostream_backend > sink_t; in init_logging()
Dsinks_async_ordering.cpp28 namespace sinks = boost::log::sinks;
40 typedef sinks::asynchronous_sink<
41 sinks::text_ostream_backend,
42sinks::unbounded_ordering_queue< /*< log record queuei…
55 boost::shared_ptr< sinks::text_ostream_backend > backend = in init_logging()
56 boost::make_shared< sinks::text_ostream_backend >(); in init_logging()
Dsinks_sync.cpp23 namespace sinks = boost::log::sinks;
35 typedef sinks::synchronous_sink< sinks::text_ostream_backend > sink_t;
42 boost::shared_ptr< sinks::text_ostream_backend > backend = in init_logging()
43 boost::make_shared< sinks::text_ostream_backend >(); in init_logging()
Dextension_stat_collector_settings.cpp34 namespace sinks = boost::log::sinks;
40 public sinks::basic_sink_backend<
41 sinks::combine_requirements<
42 sinks::synchronized_feeding,
43 sinks::flushing
160 boost::shared_ptr< sinks::sink > create_sink(settings_section const& settings) in create_sink()
178 …boost::shared_ptr< sinks::synchronous_sink< stat_collector > > sink = boost::make_shared< sinks::s… in create_sink()
Dextension_stat_collector.cpp27 namespace sinks = boost::log::sinks;
33 public sinks::basic_sink_backend<
34 sinks::combine_requirements<
35sinks::synchronized_feeding, /*< we will have to store inte…
36sinks::flushing /*< also enable flushing suppo…
148 typedef sinks::synchronous_sink< stat_collector > sink_t;
Dsinks_async.cpp23 namespace sinks = boost::log::sinks;
35 typedef sinks::asynchronous_sink< sinks::text_ostream_backend > sink_t;
42 boost::shared_ptr< sinks::text_ostream_backend > backend = in init_logging()
43 boost::make_shared< sinks::text_ostream_backend >(); in init_logging()
Dsinks_unlocked.cpp22 namespace sinks = boost::log::sinks;
35 public sinks::basic_sink_backend< sinks::concurrent_feeding >
47 typedef sinks::unlocked_sink< my_backend > sink_t;
/third_party/boost/libs/log/example/event_log/
Dmain.cpp43 namespace sinks = boost::log::sinks;
61 boost::shared_ptr< sinks::event_log_backend > backend( in init_logging()
62 new sinks::event_log_backend(( in init_logging()
72 sinks::event_log::event_composer composer( in init_logging()
73 sinks::event_log::direct_event_id_mapping< int >("EventID")); in init_logging()
96 sinks::event_log::custom_event_type_mapping< severity_level > type_mapping("Severity"); in init_logging()
97 type_mapping[normal] = sinks::event_log::make_event_type(MY_SEVERITY_INFO); in init_logging()
98 type_mapping[warning] = sinks::event_log::make_event_type(MY_SEVERITY_WARNING); in init_logging()
99 type_mapping[error] = sinks::event_log::make_event_type(MY_SEVERITY_ERROR); in init_logging()
105 sinks::event_log::custom_event_category_mapping< int > cat_mapping("EventID"); in init_logging()
[all …]
/third_party/boost/boost/log/utility/setup/
Dfile.hpp50 #define BOOST_LOG_FILE_SINK_FRONTEND_INTERNAL sinks::synchronous_sink
52 #define BOOST_LOG_FILE_SINK_FRONTEND_INTERNAL sinks::unlocked_sink
64 inline shared_ptr< sinks::file::collector > setup_file_collector(ArgsT const&, mpl::true_ const&) in setup_file_collector()
66 return shared_ptr< sinks::file::collector >(); in setup_file_collector()
69 inline shared_ptr< sinks::file::collector > setup_file_collector(ArgsT const& args, mpl::false_ con… in setup_file_collector()
71 return sinks::file::make_collector(args); in setup_file_collector()
76 shared_ptr< BOOST_LOG_FILE_SINK_FRONTEND_INTERNAL< sinks::text_file_backend > > add_file_log(ArgsT … in add_file_log()
78 typedef sinks::text_file_backend backend_t; in add_file_log()
81 shared_ptr< sinks::file::collector > pCollector = aux::setup_file_collector(args, in add_file_log()
86 pBackend->scan_for_files(args[keywords::scan_method | sinks::file::scan_matching]); in add_file_log()
[all …]
Dconsole.hpp43 #define BOOST_LOG_CONSOLE_SINK_FRONTEND_INTERNAL sinks::synchronous_sink
45 #define BOOST_LOG_CONSOLE_SINK_FRONTEND_INTERNAL sinks::unlocked_sink
59 sinks::basic_text_ostream_backend< CharT >
65 typedef sinks::basic_text_ostream_backend< CharT > backend_t; in add_console_log()
110 sinks::basic_text_ostream_backend< CharT >
122 sinks::basic_text_ostream_backend< CharT >
132 sinks::basic_text_ostream_backend< CharT >
142 sinks::basic_text_ostream_backend< CharT >
152 sinks::basic_text_ostream_backend< CharT >
162 sinks::basic_text_ostream_backend< CharT >
[all …]
/third_party/boost/libs/log/example/native_syslog/
Dmain.cpp41 namespace sinks = boost::log::sinks;
60 shared_ptr< sinks::synchronous_sink< sinks::syslog_backend > > sink( in main()
61 new sinks::synchronous_sink< sinks::syslog_backend >( in main()
62 keywords::use_impl = sinks::syslog::native, in main()
63 keywords::facility = sinks::syslog::local7)); in main()
73 sinks::syslog::custom_severity_mapping< severity_levels > mapping("Severity"); in main()
74 mapping[normal] = sinks::syslog::info; in main()
75 mapping[warning] = sinks::syslog::warning; in main()
76 mapping[error] = sinks::syslog::critical; in main()
/third_party/boost/libs/log/example/syslog/
Dmain.cpp39 namespace sinks = boost::log::sinks;
58 shared_ptr< sinks::synchronous_sink< sinks::syslog_backend > > sink( in main()
59 new sinks::synchronous_sink< sinks::syslog_backend >()); in main()
69 sinks::syslog::custom_severity_mapping< severity_levels > mapping("Severity"); in main()
70 mapping[normal] = sinks::syslog::info; in main()
71 mapping[warning] = sinks::syslog::warning; in main()
72 mapping[error] = sinks::syslog::critical; in main()
/third_party/boost/libs/log/src/setup/
Dinit_from_settings.cpp156 inline sinks::auto_newline_mode param_cast_to_auto_newline_mode(const char* param_name, std::basic_…
162 return sinks::disabled_auto_newline;
164 return sinks::always_insert;
166 return sinks::insert_if_missing;
192 sinks::file::rotation_at_time_point param_cast_to_rotation_time_point(const char* param_name, std::…
279 return sinks::file::rotation_at_time_point(weekday.get(), hour, minute, second);
281 … return sinks::file::rotation_at_time_point(gregorian::greg_day(day.get()), hour, minute, second);
283 return sinks::file::rotation_at_time_point(hour, minute, second);
301 …static shared_ptr< sinks::sink > select_backend_character_type(settings_section const& params, Ini…
320 …static shared_ptr< sinks::sink > init_sink(shared_ptr< BackendT > const& backend, settings_section…
[all …]
/third_party/boost/libs/log/doc/html/
Dlog_HTML.manifest9 log/tutorial/sinks.html
335 sinks.html
336 boost/log/sinks/asynchronous_sink.html
337 boost/log/sinks/asynchronous_sink/scoped_flag.html
338 boost/log/sinks/asynchronous_sink/scoped_thread_id.html
339 boost/log/sinks/basic_custom_mapping.html
340 boost/log/sinks/basic_direct_mapping.html
341 boost/log/sinks/basic_mapping.html
342 boost/log/sinks/basic_fo_idm46079576913568.html
343 boost/log/sinks/basic_sink_backend.html
[all …]
/third_party/boost/libs/log/example/multiple_threads/
Dmain.cpp40 namespace sinks = boost::log::sinks;
77 shared_ptr< sinks::synchronous_sink< sinks::text_ostream_backend > > sink( in main()
78 new sinks::synchronous_sink< sinks::text_ostream_backend >); in main()
/third_party/boost/libs/log/example/bounded_async_log/
Dmain.cpp39 namespace sinks = boost::log::sinks;
79 typedef sinks::text_ostream_backend backend_t; in main()
80 typedef sinks::asynchronous_sink< in main()
82 sinks::bounded_ordering_queue< in main()
85 sinks::block_on_overflow // wait until records are processed in main()
/third_party/boost/libs/log/example/rotating_file/
Dmain.cpp36 namespace sinks = boost::log::sinks;
49 typedef sinks::synchronous_sink< sinks::text_file_backend > file_sink; in main()
57 sink->locked_backend()->set_file_collector(sinks::file::make_collector( in main()

12345678910