/third_party/boost/libs/log/test/run/ |
D | util_stp_filter_parser.cpp | 30 namespace logging = boost::log; 31 namespace attrs = logging::attributes; 33 typedef logging::attribute_set attr_set; 34 typedef logging::attribute_value_set attr_values; 50 logging::filter f = logging::parse_filter("%MyAttr%"); in BOOST_AUTO_TEST_CASE() 55 logging::filter f = logging::parse_filter(" % MyAttr % "); in BOOST_AUTO_TEST_CASE() 85 logging::filter f = logging::parse_filter("%MyAttr% = 10"); in BOOST_AUTO_TEST_CASE() 92 logging::filter f = logging::parse_filter("%MyAttr% != 10"); in BOOST_AUTO_TEST_CASE() 99 logging::filter f = logging::parse_filter("%MyAttr% < 20"); in BOOST_AUTO_TEST_CASE() 106 logging::filter f = logging::parse_filter("%MyAttr% < -7"); in BOOST_AUTO_TEST_CASE() [all …]
|
D | form_named_scope.cpp | 31 namespace logging = boost::log; 32 namespace attrs = logging::attributes; 33 namespace expr = logging::expressions; 34 namespace keywords = logging::keywords; 43 static logging::string_literal scope1() { return logging::str_literal("scope1"); } in scope1() 44 static logging::string_literal scope2() { return logging::str_literal("scope2"); } in scope2() 46 static logging::string_literal file() { return logging::str_literal(__FILE__); } in file() 47 …static logging::string_literal posix_file() { return logging::str_literal("/home/user/posix_file.c… in posix_file() 48 …static logging::string_literal windows_file1() { return logging::str_literal("C:\\user\\windows_fi… in windows_file1() 49 …static logging::string_literal windows_file2() { return logging::str_literal("C:/user/windows_file… in windows_file2() [all …]
|
D | util_stp_formatter_parser.cpp | 34 namespace logging = boost::log; 35 namespace attrs = logging::attributes; 37 typedef logging::attribute_set attr_set; 38 typedef logging::attribute_value_set attr_values; 39 typedef logging::record_view record_view; 41 typedef logging::basic_formatting_ostream< char > osstream; 42 typedef logging::basic_formatter< char > formatter; 57 formatter f = logging::parse_formatter("String literal"); in BOOST_AUTO_TEST_CASE() 65 formatter f = logging::parse_formatter("MyAttr: %MyAttr%, MyStr: %MyStr%"); in BOOST_AUTO_TEST_CASE() 73 formatter f = logging::parse_formatter("MyAttr: % MyAttr %, MyStr: % MyStr %"); in BOOST_AUTO_TEST_CASE() [all …]
|
D | util_string_literal.cpp | 26 namespace logging = boost::log; 33 logging::string_literal lit; in BOOST_AUTO_TEST_CASE() 41 logging::string_literal lit = "abcd"; in BOOST_AUTO_TEST_CASE() 50 logging::wstring_literal lit1 = L"Hello"; in BOOST_AUTO_TEST_CASE() 51 logging::wstring_literal lit2 = lit1; in BOOST_AUTO_TEST_CASE() 58 logging::string_literal lit1 = logging::str_literal("Wow!"); in BOOST_AUTO_TEST_CASE() 61 logging::wstring_literal lit2 = logging::str_literal(L"Wow!"); in BOOST_AUTO_TEST_CASE() 72 logging::string_literal lit; in BOOST_AUTO_TEST_CASE() 78 logging::string_literal empty_lit; in BOOST_AUTO_TEST_CASE() 82 logging::string_literal filled_lit = "Some string"; in BOOST_AUTO_TEST_CASE() [all …]
|
D | util_stp_settings_parser.cpp | 26 namespace logging = boost::log; 28 typedef logging::basic_settings< char > settings; 46 settings s = logging::parse_settings(strm); in BOOST_AUTO_TEST_CASE() 82 settings s = logging::parse_settings(strm); in BOOST_AUTO_TEST_CASE() 126 settings s = logging::parse_settings(strm); in BOOST_AUTO_TEST_CASE() 155 BOOST_CHECK_THROW(logging::parse_settings(strm), logging::parse_error); in BOOST_AUTO_TEST_CASE() 170 BOOST_CHECK_THROW(logging::parse_settings(strm), logging::parse_error); in BOOST_AUTO_TEST_CASE() 185 BOOST_CHECK_THROW(logging::parse_settings(strm), logging::parse_error); in BOOST_AUTO_TEST_CASE() 200 BOOST_CHECK_THROW(logging::parse_settings(strm), logging::parse_error); in BOOST_AUTO_TEST_CASE() 215 BOOST_CHECK_THROW(logging::parse_settings(strm), logging::parse_error); in BOOST_AUTO_TEST_CASE() [all …]
|
D | form_date_time.cpp | 35 namespace logging = boost::log; 36 namespace attrs = logging::attributes; 37 namespace expr = logging::expressions; 38 namespace keywords = logging::keywords; 53 typedef logging::basic_string_literal< char > string_literal_type; 55 … static string_literal_type default_date_format() { return logging::str_literal("%Y-%b-%d"); } in default_date_format() 56 … static string_literal_type default_time_format() { return logging::str_literal("%H:%M:%S.%f"); } in default_time_format() 57 …static string_literal_type default_date_time_format() { return logging::str_literal("%Y-%b-%d %H:%… in default_date_time_format() 58 …static string_literal_type default_time_duration_format() { return logging::str_literal("%-%H:%M:%… in default_time_duration_format() 60 static string_literal_type date_format() { return logging::str_literal("%d/%m/%Y"); } in date_format() [all …]
|
D | attr_attribute_value_impl.cpp | 29 namespace logging = boost::log; 30 namespace attrs = logging::attributes; 36 public logging::static_type_dispatcher< 40 typedef logging::static_type_dispatcher< 110 logging::attribute_value p1(attrs::make_attribute_value< int >(10)); in BOOST_AUTO_TEST_CASE() 111 logging::attribute_value p2(attrs::make_attribute_value< double > (5.5)); in BOOST_AUTO_TEST_CASE() 112 …logging::attribute_value p3(attrs::make_attribute_value< std::string >(std::string("Hello, world!"… in BOOST_AUTO_TEST_CASE() 113 logging::attribute_value p4(attrs::make_attribute_value< float >(static_cast< float >(-7.2))); in BOOST_AUTO_TEST_CASE() 132 logging::attribute_value p1(attrs::make_attribute_value< int >(10)); in BOOST_AUTO_TEST_CASE() 133 logging::attribute_value p2(attrs::make_attribute_value< double >(5.5)); in BOOST_AUTO_TEST_CASE() [all …]
|
D | form_to_log_manip.cpp | 30 namespace logging = boost::log; 31 namespace attrs = logging::attributes; 32 namespace expr = logging::expressions; 51 inline logging::basic_formatting_ostream< CharT, TraitsT, AllocatorT >& 52 operator<< (logging::basic_formatting_ostream< CharT, TraitsT, AllocatorT >& strm, logging::to_log_… in operator <<() 63 inline logging::basic_formatting_ostream< CharT, TraitsT, AllocatorT >& 64 operator<< (logging::basic_formatting_ostream< CharT, TraitsT, AllocatorT >& strm, logging::to_log_… in operator <<() 74 typedef logging::record_view record_view; in BOOST_AUTO_TEST_CASE_TEMPLATE() 75 typedef logging::attribute_set attr_set; in BOOST_AUTO_TEST_CASE_TEMPLATE() 77 typedef logging::basic_formatting_ostream< CharT > osstream; in BOOST_AUTO_TEST_CASE_TEMPLATE() [all …]
|
D | src_record_ostream.cpp | 36 namespace logging = boost::log; 71 typedef logging::basic_record_ostream< char_type > record_ostream_type; 78 logging::record rec = make_record(); in width_formatting() 83 … string_type rec_message = logging::extract_or_throw< string_type >(expr::message.get_name(), rec); in width_formatting() 93 logging::record rec = make_record(); in width_formatting() 98 … string_type rec_message = logging::extract_or_throw< string_type >(expr::message.get_name(), rec); in width_formatting() 110 logging::record rec = make_record(); in fill_formatting() 115 … string_type rec_message = logging::extract_or_throw< string_type >(expr::message.get_name(), rec); in fill_formatting() 128 logging::record rec = make_record(); in alignment() 133 … string_type rec_message = logging::extract_or_throw< string_type >(expr::message.get_name(), rec); in alignment() [all …]
|
D | filt_matches_boost_regex.cpp | 28 namespace logging = boost::log; 29 namespace attrs = logging::attributes; 30 namespace expr = logging::expressions; 35 typedef logging::attribute_set attr_set; in BOOST_AUTO_TEST_CASE() 36 typedef logging::attribute_value_set attr_values; in BOOST_AUTO_TEST_CASE() 37 typedef logging::filter filter; in BOOST_AUTO_TEST_CASE() 42 attrs::constant< logging::string_literal > attr2(logging::str_literal("BIG brown FoX")); in BOOST_AUTO_TEST_CASE() 59 …f = expr::matches< logging::string_literal >(data::attr2(), regex_type("[A-Z]* [a-z]* [A-Za-z]*")); in BOOST_AUTO_TEST_CASE() 77 typedef logging::attribute_set attr_set; in BOOST_AUTO_TEST_CASE() 78 typedef logging::attribute_value_set attr_values; in BOOST_AUTO_TEST_CASE() [all …]
|
D | filt_matches_std_regex.cpp | 32 namespace logging = boost::log; 33 namespace attrs = logging::attributes; 34 namespace expr = logging::expressions; 39 typedef logging::attribute_set attr_set; in BOOST_AUTO_TEST_CASE() 40 typedef logging::attribute_value_set attr_values; in BOOST_AUTO_TEST_CASE() 41 typedef logging::filter filter; in BOOST_AUTO_TEST_CASE() 46 attrs::constant< logging::string_literal > attr2(logging::str_literal("BIG brown FoX")); in BOOST_AUTO_TEST_CASE() 63 …f = expr::matches< logging::string_literal >(data::attr2(), regex_type("[A-Z]* [a-z]* [A-Za-z]*")); in BOOST_AUTO_TEST_CASE() 81 typedef logging::attribute_set attr_set; in BOOST_AUTO_TEST_CASE() 82 typedef logging::attribute_value_set attr_values; in BOOST_AUTO_TEST_CASE() [all …]
|
D | filt_matches_xpressive.cpp | 28 namespace logging = boost::log; 29 namespace attrs = logging::attributes; 30 namespace expr = logging::expressions; 35 typedef logging::attribute_set attr_set; in BOOST_AUTO_TEST_CASE() 36 typedef logging::attribute_value_set attr_values; in BOOST_AUTO_TEST_CASE() 37 typedef logging::filter filter; in BOOST_AUTO_TEST_CASE() 42 attrs::constant< logging::string_literal > attr2(logging::str_literal("BIG brown FoX")); in BOOST_AUTO_TEST_CASE() 59 …f = expr::matches< logging::string_literal >(data::attr2(), regex_type::compile("[A-Z]* [a-z]* [A-… in BOOST_AUTO_TEST_CASE() 77 typedef logging::attribute_set attr_set; in BOOST_AUTO_TEST_CASE() 78 typedef logging::attribute_value_set attr_values; in BOOST_AUTO_TEST_CASE() [all …]
|
D | util_manip_add_value.cpp | 30 namespace logging = boost::log; 99 logging::record rec = make_record(logging::attribute_set()); in BOOST_AUTO_TEST_CASE() 101 logging::record_ostream strm(rec); in BOOST_AUTO_TEST_CASE() 105 …strm << logging::add_value("MyAttr1", val) << logging::add_value("MyAttr2", const_val) << logging:… in BOOST_AUTO_TEST_CASE() 109 strm << logging::add_value("MyAttr4", 100u); in BOOST_AUTO_TEST_CASE() 110 strm << logging::add_value("MyAttr5", my_pod_type()); in BOOST_AUTO_TEST_CASE() 127 logging::record rec = make_record(logging::attribute_set()); in BOOST_AUTO_TEST_CASE() 129 logging::record_ostream strm(rec); in BOOST_AUTO_TEST_CASE() 133 …strm << logging::add_value(a_my1, val) << logging::add_value(a_my2, const_val) << logging::add_val… in BOOST_AUTO_TEST_CASE()
|
D | attr_value_visitation.cpp | 28 namespace logging = boost::log; 29 namespace attrs = logging::attributes; 102 typedef logging::attribute_set attr_set; in BOOST_AUTO_TEST_CASE() 103 typedef logging::attribute_value_set attr_values; in BOOST_AUTO_TEST_CASE() 119 logging::value_visitor_invoker< int > invoker1; in BOOST_AUTO_TEST_CASE() 120 logging::value_visitor_invoker< double > invoker2; in BOOST_AUTO_TEST_CASE() 121 logging::value_visitor_invoker< std::string > invoker3; in BOOST_AUTO_TEST_CASE() 122 logging::value_visitor_invoker< char > invoker4; in BOOST_AUTO_TEST_CASE() 156 typedef logging::attribute_set attr_set; in BOOST_AUTO_TEST_CASE() 157 typedef logging::attribute_value_set attr_values; in BOOST_AUTO_TEST_CASE() [all …]
|
/third_party/python/Lib/test/ |
D | test_logging.py | 22 import logging 23 import logging.handlers 24 import logging.config 91 logger_dict = logging.getLogger().manager.loggerDict 92 logging._acquireLock() 94 self.saved_handlers = logging._handlers.copy() 95 self.saved_handler_list = logging._handlerList[:] 97 self.saved_name_to_level = logging._nameToLevel.copy() 98 self.saved_level_to_name = logging._levelToName.copy() 104 logging._releaseLock() [all …]
|
/third_party/boost/libs/log/example/doc/ |
D | tutorial_file.cpp | 17 namespace logging = boost::log; 27 logging::add_file_log("sample.log"); 29 logging::core::get()->set_filter 31 logging::trivial::severity >= logging::trivial::info 40 logging::add_file_log 48 logging::core::get()->set_filter 50 logging::trivial::severity >= logging::trivial::info 60 logging::add_file_log in init() 68 logging::core::get()->set_filter in init() 70 logging::trivial::severity >= logging::trivial::info in init() [all …]
|
D | core_record.cpp | 15 namespace logging = boost::log; 65 void print_severity_visitation(logging::record const& rec) in print_severity_visitation() 67 logging::visit< severity_level >("Severity", rec, print_visitor()); in print_severity_visitation() 71 void print_severity_extraction(logging::record const& rec) in print_severity_extraction() 73 … logging::value_ref< severity_level > level = logging::extract< severity_level >("Severity", rec); in print_severity_extraction() 80 void print_severity_lookup(logging::record const& rec) in print_severity_lookup() 82 logging::attribute_value_set const& values = rec.attribute_values(); in print_severity_lookup() 83 logging::attribute_value_set::const_iterator it = values.find("Severity"); in print_severity_lookup() 86 logging::attribute_value const& value = it->second; in print_severity_lookup() 98 void print_severity_subscript(logging::record const& rec) in print_severity_subscript() [all …]
|
D | extension_app_launcher.cpp | 25 namespace logging = boost::log; 42 void consume(logging::record_view const& rec, string_type const& command_line); 48 void app_launcher::consume(logging::record_view const& rec, string_type const& command_line) in consume() 60 …logging::value_ref< logging::trivial::severity_level, logging::trivial::tag::severity > const& lev… in severity_level_as_urgency() 62 if (!level || level.get() == logging::trivial::info) in severity_level_as_urgency() 64 logging::trivial::severity_level lvl = level.get(); in severity_level_as_urgency() 65 if (lvl < logging::trivial::info) in severity_level_as_urgency() 74 boost::shared_ptr< logging::core > core = logging::core::get(); in init_logging() 90 … << boost::phoenix::bind(&severity_level_as_urgency, logging::trivial::severity.or_none()) in init_logging() 113 …BOOST_LOG_TRIVIAL(info) << logging::add_value(caption, "Caption text") << "And this notification h… in test_notifications()
|
D | attr_value_extraction.cpp | 17 namespace logging = boost::log; 21 void print_value(logging::attribute_value const& attr) in print_value() 24 logging::value_ref< int > val = logging::extract< int >(attr); in print_value() 35 void print_value_multiple_types(logging::attribute_value const& attr) in print_value_multiple_types() 41 logging::value_ref< types > val = logging::extract< types >(attr); in print_value_multiple_types() 88 void hash_value(logging::attribute_value const& attr) in hash_value() 94 logging::value_ref< types > val = logging::extract< types >(attr); in hash_value() 106 void hash_value(logging::record_view const& rec, logging::attribute_name name) 112 logging::value_ref< types > val = logging::extract< types >(name, rec);
|
D | attr_value_visitation.cpp | 16 namespace logging = boost::log; 36 void print_value(logging::attribute_value const& attr) in print_value() 42 logging::visitation_result result = logging::visit< types >(attr, print_visitor()); in print_value() 77 void hash_value(logging::attribute_value const& attr) in hash_value() 84 …logging::visitation_result result = logging::visit< types >(attr, logging::save_result(hash_visito… in hash_value() 96 void hash_value(logging::record_view const& rec, logging::attribute_name name) 103 …logging::visitation_result result = logging::visit< types >(name, rec, logging::save_result(hash_v…
|
/third_party/skia/third_party/externals/abseil-cpp/ |
D | roll_abseil.py | 6 import logging 16 logging.info('Updating abseil...') 21 logging.info('Updating chromium...') 28 logging.info('Updating ' + readme_filename) 44 logging.info('Abseil old revision is ' + old_revision) 45 logging.info('Abseil new revision is ' + new_revision) 50 logging.info('Syncing abseil in chromium/src/third_party...') 74 logging.info('Patching abseil...') 83 logging.info('Commit...') 95 logging.info('Upload...') [all …]
|
/third_party/grpc/tools/run_tests/python_utils/ |
D | start_port_server.py | 20 import logging 41 logging.info('detected port server running version %d', version) 44 logging.exception('failed to detect port server') 53 logging.info('my port server is version %d', current_version) 56 logging.info('port_server version mismatch: killing the old one') 63 logging.info('starting port_server, with log file %s', logfile) 95 logging.warning( 99 logging.error('port_server failed to start') 105 logging.info( 109 logging.exception( [all …]
|
/third_party/boost/libs/log/example/settings_file_custom_factories/ |
D | main.cpp | 35 namespace logging = boost::log; 107 explicit scope_list_formatter(logging::attribute_name const& name) : in scope_list_formatter() 111 void operator()(logging::record_view const& rec, logging::formatting_ostream& strm) const in operator ()() 114 logging::visit< scope_stack > in operator ()() 124 static void format(scope_stack const& scopes, logging::formatting_ostream& strm) in format() 134 logging::attribute_name name_; 138 public logging::formatter_factory< char > 146 logging::attribute_name const& attr_name, args_map const& args) in create_formatter() 156 …logging::register_formatter_factory("MyScopes", boost::make_shared< my_scopes_formatter_factory >(… in init_logging() 160 logging::register_simple_filter_factory< severity_level >("Severity"); in init_logging() [all …]
|
/third_party/gn/src/base/ |
D | logging.h | 102 namespace logging { 135 #define ANALYZER_ASSUME_TRUE(arg) logging::AnalyzerAssumeTrue(!!(arg)) 137 static_cast<void>(::logging::AnalyzerNoReturn()) 169 ::logging::ClassName(__FILE__, __LINE__, ::logging::LOG_INFO, ##__VA_ARGS__) 171 ::logging::ClassName(__FILE__, __LINE__, ::logging::LOG_WARNING, \ 174 ::logging::ClassName(__FILE__, __LINE__, ::logging::LOG_ERROR, ##__VA_ARGS__) 176 ::logging::ClassName(__FILE__, __LINE__, ::logging::LOG_FATAL, ##__VA_ARGS__) 178 ::logging::ClassName(__FILE__, __LINE__, ::logging::LOG_DFATAL, ##__VA_ARGS__) 180 ::logging::ClassName(__FILE__, __LINE__, ::logging::LOG_DCHECK, ##__VA_ARGS__) 207 (::logging::ShouldCreateLogMessage(::logging::LOG_##severity)) [all …]
|
/third_party/python/PC/layout/support/ |
D | logging.py | 8 import logging 28 LOG = logging.getLogger("make_layout") 29 LOG.level = logging.DEBUG 32 s_level = max(logging.ERROR - ns.v * 10, logging.DEBUG) 33 f_level = max(logging.WARNING - ns.v * 10, logging.DEBUG) 35 s_level = logging.ERROR 36 f_level = logging.INFO 38 handler = logging.StreamHandler(sys.stdout) 39 handler.setFormatter(logging.Formatter("{levelname:8s} {message}", style="{")) 44 handler = logging.FileHandler(ns.log, encoding="utf-8", delay=True) [all …]
|