Home
last modified time | relevance | path

Searched refs:my_logger (Results 1 – 8 of 8) sorted by relevance

/external/oss-fuzz/projects/spdlog/fuzz/
Dpattern_fuzzer.cc23 static std::shared_ptr<spdlog::logger> my_logger; in LLVMFuzzerTestOneInput() local
24 if (!my_logger.get()) { in LLVMFuzzerTestOneInput()
25 my_logger = spdlog::basic_logger_mt("basic_logger", "/dev/null"); in LLVMFuzzerTestOneInput()
26 spdlog::set_default_logger(my_logger); in LLVMFuzzerTestOneInput()
Dbacktrace_fuzzer.cc23 static std::shared_ptr<spdlog::logger> my_logger; in LLVMFuzzerTestOneInput() local
24 if (!my_logger.get()) { in LLVMFuzzerTestOneInput()
25 my_logger = spdlog::basic_logger_mt("basic_logger", "/dev/null"); in LLVMFuzzerTestOneInput()
26 spdlog::set_default_logger(my_logger); in LLVMFuzzerTestOneInput()
Dlevels_fuzzer.cc29 static std::shared_ptr<spdlog::logger> my_logger; in LLVMFuzzerTestOneInput() local
30 if (!my_logger.get()) { in LLVMFuzzerTestOneInput()
31 my_logger = spdlog::basic_logger_mt("basic_logger", "/dev/null"); in LLVMFuzzerTestOneInput()
32 spdlog::set_default_logger(my_logger); in LLVMFuzzerTestOneInput()
Dformat_fuzzer.cc46 static std::shared_ptr<spdlog::logger> my_logger; in LLVMFuzzerTestOneInput() local
47 if (!my_logger.get()) { in LLVMFuzzerTestOneInput()
48 my_logger = spdlog::basic_logger_mt("basic_logger", "/dev/null"); in LLVMFuzzerTestOneInput()
49 spdlog::set_default_logger(my_logger); in LLVMFuzzerTestOneInput()
Dlog_fuzzer.cc23 static std::shared_ptr<spdlog::logger> my_logger; in LLVMFuzzerTestOneInput() local
24 if (!my_logger.get()) { in LLVMFuzzerTestOneInput()
25 my_logger = spdlog::basic_logger_mt("basic_logger", "/dev/null"); in LLVMFuzzerTestOneInput()
26 spdlog::set_default_logger(my_logger); in LLVMFuzzerTestOneInput()
/external/python/cpython3/Lib/test/test_warnings/
D__init__.py1053 def my_logger(message, category, filename, lineno, file=None, line=None): function
1058 with support.swap_attr(wmod, 'showwarning', my_logger):
1060 self.assertIsNot(wmod.showwarning, my_logger)
1065 self.assertIs(wmod.showwarning, my_logger)
1078 def my_logger(message, category, filename, lineno, file=None, line=None): function
1084 wmod.showwarning = my_logger
/external/python/cpython2/Doc/howto/
Dlogging-cookbook.rst668 my_logger = logging.getLogger('MyLogger')
669 my_logger.setLevel(logging.DEBUG)
675 my_logger.addHandler(handler)
679 my_logger.debug('i = %d' % i)
/external/python/cpython3/Doc/howto/
Dlogging-cookbook.rst1005 my_logger = logging.getLogger('MyLogger')
1006 my_logger.setLevel(logging.DEBUG)
1012 my_logger.addHandler(handler)
1016 my_logger.debug('i = %d' % i)