Searched refs:QueueHandler (Results 1 – 13 of 13) sorted by relevance
/external/python/cpython3/Lib/test/test_concurrent_futures/ |
D | test_init.py | 11 from logging.handlers import QueueHandler 30 logger.addHandler(QueueHandler(log_queue))
|
/external/python/cpython3/Doc/library/ |
D | logging.handlers.rst | 1019 QueueHandler chapter 1024 The :class:`QueueHandler` class, located in the :mod:`logging.handlers` module, 1028 Along with the :class:`QueueListener` class, :class:`QueueHandler` can be used 1035 .. class:: QueueHandler(queue) 1037 Returns a new instance of the :class:`QueueHandler` class. The instance is 1079 to subclass ``QueueHandler`` and override this method to e.g. avoid 1114 because it works hand-in-hand with :class:`QueueHandler`. 1116 Along with the :class:`QueueHandler` class, :class:`QueueListener` can be used
|
D | logging.config.rst | 728 Configuring QueueHandler and QueueListener 731 If you want to configure a :class:`~logging.handlers.QueueHandler`, noting that this 734 will be available as the :attr:`~logging.handlers.QueueHandler.listener` attribute of 737 ``QueueHandler`` in your configuration. The dictionary schema for configuring the pair 744 class: logging.handlers.QueueHandler 796 initialization signatures as :class:`~logging.handlers.QueueHandler` and
|
/external/python/cpython3/Lib/logging/ |
D | config.py | 805 elif issubclass(klass, logging.handlers.QueueHandler): 863 if issubclass(klass, logging.handlers.QueueHandler):
|
D | handlers.py | 1424 class QueueHandler(logging.Handler): class
|
/external/python/cpython3/Doc/howto/ |
D | logging-cookbook.rst | 564 :class:`QueueHandler` to those loggers which are accessed from 575 designed as the counterpart to :class:`QueueHandler`. A 590 queue_handler = QueueHandler(que) 1275 Alternatively, you can use a ``Queue`` and a :class:`QueueHandler` to send 1348 h = logging.handlers.QueueHandler(queue) # Just the one handler needed 1412 qh = logging.handlers.QueueHandler(q) 1846 Subclassing QueueHandler and QueueListener- a ZeroMQ example 1849 Subclass ``QueueHandler`` 1852 You can use a :class:`QueueHandler` subclass to send messages to other kinds 1863 class ZeroMQSocketHandler(QueueHandler): [all …]
|
D | logging.rst | 986 #. :class:`~handlers.QueueHandler` instances send messages to a queue, such as 999 The :class:`~handlers.QueueHandler` class.
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.13.0b2.rst | 443 QueueHandler
|
D | 3.13.0a3.rst | 1494 a :class:`QueueHandler` without specifying handlers.
|
D | 3.12.0a1.rst | 3606 :class:`~logging.handlers.QueueHandler` and 4199 In :class:`QueueHandler`, clear ``stack_info`` from :class:`LogRecord` to
|
D | 3.8.0a1.rst | 1888 QueueHandler.prepare() now makes a copy of the record before modifying and 3022 In :class:`QueueHandler`, clear ``exc_text`` from :class:`LogRecord` to
|
/external/python/cpython3/Lib/test/ |
D | test_logging.py | 4140 class CustomQueueHandler(logging.handlers.QueueHandler): 4267 self.que_hdlr = logging.handlers.QueueHandler(self.queue) 4391 handler = logging.handlers.QueueHandler(log_queue)
|
/external/python/cpython3/Misc/ |
D | HISTORY | 12110 - Logging: Added QueueHandler class to facilitate logging usage with
|