chunk_id
stringlengths
36
36
source
stringclasses
35 values
source_url
stringlengths
0
290
upstream_license
stringclasses
1 value
document_id
stringlengths
36
36
chunk_index
int64
0
324k
retrieved_at
stringclasses
2 values
chunker_version
stringclasses
4 values
content_hash
stringlengths
15
64
content
stringlengths
50
44.7k
namespace
stringclasses
9 values
source_name
stringclasses
35 values
raw_text
stringlengths
50
44.7k
cleaned_text
stringlengths
50
44.7k
tags
stringclasses
49 values
collection_name
stringclasses
11 values
25d4bbf4-d7cb-429e-8002-22c232c51c86
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,908
supabase-export-v2
6ffc179884d1d226
be careful when calling anything that invokes other parts of the logging API which might do locking, because that might result in a deadlock. Specifically: * Logging configuration APIs acquire the module-level lock, and then individual handler-level locks as those handlers are configured.
trusted_official_docs
CPython Docs
be careful when calling anything that invokes other parts of the logging API which might do locking, because that might result in a deadlock. Specifically: * Logging configuration APIs acquire the module-level lock, and then individual handler-level locks as those handlers are configured.
be careful when calling anything that invokes other parts of the logging API which might do locking, because that might result in a deadlock. Specifically: * Logging configuration APIs acquire the module-level lock, and then individual handler-level locks as those handlers are configured.
python, official-docs, cpython, P0
Local_Trusted_Corpus
27350145-8b19-4e6f-9ab8-5c2f35c57b01
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,770
supabase-export-v2
7a2cca7a58dcce71
Logger Objects -------------- Loggers have the following attributes and methods. Note that Loggers should *NEVER* be instantiated directly, but always through the module-level function ``logging.getLogger(name)``. Multiple calls to :func:`getLogger` with the same name will always return a reference to the same Logger o...
trusted_official_docs
CPython Docs
Logger Objects -------------- Loggers have the following attributes and methods. Note that Loggers should *NEVER* be instantiated directly, but always through the module-level function ``logging.getLogger(name)``. Multiple calls to :func:`getLogger` with the same name will always return a reference to the same Logger o...
Logger Objects -------------- Loggers have the following attributes and methods. Note that Loggers should *NEVER* be instantiated directly, but always through the module-level function ``logging.getLogger(name)``. Multiple calls to :func:`getLogger` with the same name will always return a reference to the same Logger o...
python, official-docs, cpython, P0
Local_Trusted_Corpus
28a6b15a-6701-4cf6-a745-ef5e0538d955
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,927
supabase-export-v2
90e3cbd88680c00b
after a formatter has done its formatting, so that the next formatter to handle the event doesn't use the cached value, but recalculates it afresh. If stack information is available, it's appended after the exception information, using :meth:`formatStack` to transform it if necessary.
trusted_official_docs
CPython Docs
after a formatter has done its formatting, so that the next formatter to handle the event doesn't use the cached value, but recalculates it afresh. If stack information is available, it's appended after the exception information, using :meth:`formatStack` to transform it if necessary.
after a formatter has done its formatting, so that the next formatter to handle the event doesn't use the cached value, but recalculates it afresh. If stack information is available, it's appended after the exception information, using :meth:`formatStack` to transform it if necessary.
python, official-docs, cpython, P0
Local_Trusted_Corpus
297b6c0e-0e2c-47d9-a1ef-4b4633fb37f1
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,087
supabase-export-v2
97e0028f1257e204
.. versionchanged:: 3.2 The *style* argument was added. .. versionchanged:: 3.3 The *handlers* argument was added. Additional checks were added to catch situations where incompatible arguments are specified (e.g. *handlers* together with *stream* or *filename*, or *stream* together with *filename*).
trusted_official_docs
CPython Docs
.. versionchanged:: 3.2 The *style* argument was added. .. versionchanged:: 3.3 The *handlers* argument was added. Additional checks were added to catch situations where incompatible arguments are specified (e.g. *handlers* together with *stream* or *filename*, or *stream* together with *filename*).
.. versionchanged:: 3.2 The *style* argument was added. .. versionchanged:: 3.3 The *handlers* argument was added. Additional checks were added to catch situations where incompatible arguments are specified (e.g. *handlers* together with *stream* or *filename*, or *stream* together with *filename*).
python, official-docs, cpython, P0
Local_Trusted_Corpus
29a83669-7692-4972-ba69-41dea2053b57
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,883
supabase-export-v2
63349cdd348af1e4
.. method:: Handler.setLevel(level) Sets the threshold for this handler to *level*. Logging messages which are less severe than *level* will be ignored. When a handler is created, the level is set to :const:`NOTSET` (which causes all messages to be processed).
trusted_official_docs
CPython Docs
.. method:: Handler.setLevel(level) Sets the threshold for this handler to *level*. Logging messages which are less severe than *level* will be ignored. When a handler is created, the level is set to :const:`NOTSET` (which causes all messages to be processed).
.. method:: Handler.setLevel(level) Sets the threshold for this handler to *level*. Logging messages which are less severe than *level* will be ignored. When a handler is created, the level is set to :const:`NOTSET` (which causes all messages to be processed).
python, official-docs, cpython, P0
Local_Trusted_Corpus
2e102217-8732-4cfa-b333-f22bcce85542
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,800
supabase-export-v2
42c1d644e2324a2b
See :ref:`levels` for a list of levels. .. versionchanged:: 3.2 The *level* parameter now accepts a string representation of the level such as 'INFO' as an alternative to the integer constants such as :const:`INFO`. Note, however, that levels are internally stored as integers, and methods such as e.g. :meth:`getEff...
trusted_official_docs
CPython Docs
See :ref:`levels` for a list of levels. .. versionchanged:: 3.2 The *level* parameter now accepts a string representation of the level such as 'INFO' as an alternative to the integer constants such as :const:`INFO`. Note, however, that levels are internally stored as integers, and methods such as e.g. :meth:`getEff...
See :ref:`levels` for a list of levels. .. versionchanged:: 3.2 The *level* parameter now accepts a string representation of the level such as 'INFO' as an alternative to the integer constants such as :const:`INFO`. Note, however, that levels are internally stored as integers, and methods such as e.g. :meth:`getEff...
python, official-docs, cpython, P0
Local_Trusted_Corpus
2f3c8c0c-fc69-4017-92b5-f95fe8809697
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,018
supabase-export-v2
5ec57d9a034d1e56
is one lock to serialize access to the module's shared data, and each handler also creates a lock to serialize access to its underlying I/O. If you are implementing asynchronous signal handlers using the :mod:`signal` module, you may not be able to use logging from within such handlers. This is because lock implementat...
trusted_official_docs
CPython Docs
is one lock to serialize access to the module's shared data, and each handler also creates a lock to serialize access to its underlying I/O. If you are implementing asynchronous signal handlers using the :mod:`signal` module, you may not be able to use logging from within such handlers. This is because lock implementat...
is one lock to serialize access to the module's shared data, and each handler also creates a lock to serialize access to its underlying I/O. If you are implementing asynchronous signal handlers using the :mod:`signal` module, you may not be able to use logging from within such handlers. This is because lock implementat...
python, official-docs, cpython, P0
Local_Trusted_Corpus
304db721-a553-4374-ab87-3002172ccb3d
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,942
supabase-export-v2
339f61006f3a9e50
.. method:: formatFooter(records) Return a footer for a list of *records*. The base implementation just returns the empty string. You will need to override this method if you want specific behaviour, e.g. to show the count of records or a separator line.
trusted_official_docs
CPython Docs
.. method:: formatFooter(records) Return a footer for a list of *records*. The base implementation just returns the empty string. You will need to override this method if you want specific behaviour, e.g. to show the count of records or a separator line.
.. method:: formatFooter(records) Return a footer for a list of *records*. The base implementation just returns the empty string. You will need to override this method if you want specific behaviour, e.g. to show the count of records or a separator line.
python, official-docs, cpython, P0
Local_Trusted_Corpus
30915843-b7ab-4e63-880a-9e48d351f724
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,816
supabase-export-v2
3ed7382eb094cedb
call in the current thread, whereas the latter is information about stack frames which have been unwound, following an exception, while searching for exception handlers. You can specify *stack_info* independently of *exc_info*, e.g. to just show how you got to a certain point in your code, even when no exceptions were...
trusted_official_docs
CPython Docs
call in the current thread, whereas the latter is information about stack frames which have been unwound, following an exception, while searching for exception handlers. You can specify *stack_info* independently of *exc_info*, e.g. to just show how you got to a certain point in your code, even when no exceptions were...
call in the current thread, whereas the latter is information about stack frames which have been unwound, following an exception, while searching for exception handlers. You can specify *stack_info* independently of *exc_info*, e.g. to just show how you got to a certain point in your code, even when no exceptions were...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3341bf16-78b7-40f9-8fce-b9cd5c819299
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,962
supabase-export-v2
49164d3386d38c4d
The primary information is passed in *msg* and *args*, which are combined using ``msg % args`` to create the :attr:`!message` attribute of the record. :param name: The name of the logger used to log the event represented by this :class:`!LogRecord`. Note that the logger name in the :class:`!LogRecord` will always hav...
trusted_official_docs
CPython Docs
The primary information is passed in *msg* and *args*, which are combined using ``msg % args`` to create the :attr:`!message` attribute of the record. :param name: The name of the logger used to log the event represented by this :class:`!LogRecord`. Note that the logger name in the :class:`!LogRecord` will always hav...
The primary information is passed in *msg* and *args*, which are combined using ``msg % args`` to create the :attr:`!message` attribute of the record. :param name: The name of the logger used to log the event represented by this :class:`!LogRecord`. Note that the logger name in the :class:`!LogRecord` will always hav...
python, official-docs, cpython, P0
Local_Trusted_Corpus
35865447-a568-4f5b-9e75-4dd0bee18d95
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,994
supabase-export-v2
87489721e7bc52f5
available). | +----------------+-------------------------+-----------------------------------------------+ | threadName | ``%(threadName)s`` | Thread name (if available). | +----------------+-------------------------+-----------------------------------------------+ | taskName | ``%(taskName)s`` | :class:`asyncio.Task` ...
trusted_official_docs
CPython Docs
available). | +----------------+-------------------------+-----------------------------------------------+ | threadName | ``%(threadName)s`` | Thread name (if available). | +----------------+-------------------------+-----------------------------------------------+ | taskName | ``%(taskName)s`` | :class:`asyncio.Task` ...
available). | +----------------+-------------------------+-----------------------------------------------+ | threadName | ``%(threadName)s`` | Thread name (if available). | +----------------+-------------------------+-----------------------------------------------+ | taskName | ``%(taskName)s`` | :class:`asyncio.Task` ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3670e337-bd95-4f34-8996-505909400896
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,809
supabase-export-v2
2bbd53383ee694a9
.. method:: Logger.getChildren() Returns a set of loggers which are immediate children of this logger. So for example ``logging.getLogger().getChildren()`` might return a set containing loggers named ``foo`` and ``bar``, but a logger named ``foo.bar`` wouldn't be included in the set. Likewise, ``logging.getLogger('f...
trusted_official_docs
CPython Docs
.. method:: Logger.getChildren() Returns a set of loggers which are immediate children of this logger. So for example ``logging.getLogger().getChildren()`` might return a set containing loggers named ``foo`` and ``bar``, but a logger named ``foo.bar`` wouldn't be included in the set. Likewise, ``logging.getLogger('f...
.. method:: Logger.getChildren() Returns a set of loggers which are immediate children of this logger. So for example ``logging.getLogger().getChildren()`` might return a set containing loggers named ``foo`` and ``bar``, but a logger named ``foo.bar`` wouldn't be included in the set. Likewise, ``logging.getLogger('f...
python, official-docs, cpython, P0
Local_Trusted_Corpus
372a0c13-6057-45fa-8cec-0b8cd05fba9a
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,946
supabase-export-v2
b2eaa095c560ea60
Filter Objects -------------- ``Filters`` can be used by ``Handlers`` and ``Loggers`` for more sophisticated filtering than is provided by levels. The base filter class only allows events which are below a certain point in the logger hierarchy. For example, a filter initialized with 'A.B' will allow events logged by lo...
trusted_official_docs
CPython Docs
Filter Objects -------------- ``Filters`` can be used by ``Handlers`` and ``Loggers`` for more sophisticated filtering than is provided by levels. The base filter class only allows events which are below a certain point in the logger hierarchy. For example, a filter initialized with 'A.B' will allow events logged by lo...
Filter Objects -------------- ``Filters`` can be used by ``Handlers`` and ``Loggers`` for more sophisticated filtering than is provided by levels. The base filter class only allows events which are below a certain point in the logger hierarchy. For example, a filter initialized with 'A.B' will allow events logged by lo...
python, official-docs, cpython, P0
Local_Trusted_Corpus
38a4b4b1-e5e0-4279-bd3c-1387d7a940e3
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,822
supabase-export-v2
fd6fdd192d2c502d
event with user-defined attributes. These custom attributes can then be used as you like. For example, they could be incorporated into logged messages. For example:: FORMAT = '%(asctime)s %(clientip)-15s %(user)-8s %(message)s' logging.basicConfig(format=FORMAT) d = {'clientip': '192.168.0.1', 'user': 'fbloggs'} log...
trusted_official_docs
CPython Docs
event with user-defined attributes. These custom attributes can then be used as you like. For example, they could be incorporated into logged messages. For example:: FORMAT = '%(asctime)s %(clientip)-15s %(user)-8s %(message)s' logging.basicConfig(format=FORMAT) d = {'clientip': '192.168.0.1', 'user': 'fbloggs'} log...
event with user-defined attributes. These custom attributes can then be used as you like. For example, they could be incorporated into logged messages. For example:: FORMAT = '%(asctime)s %(clientip)-15s %(user)-8s %(message)s' logging.basicConfig(format=FORMAT) d = {'clientip': '192.168.0.1', 'user': 'fbloggs'} log...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3a7fabac-8e30-4ff2-b3e4-fba148b6d6b6
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,115
supabase-export-v2
3b8e13abe355367e
logging system. Specifically, a warning will be formatted using :func:`warnings.formatwarning` and the resulting string logged to a logger named ``'py.warnings'`` with a severity of :const:`WARNING`. If *capture* is ``False``, the redirection of warnings to the logging system will stop, and warnings will be redirected...
trusted_official_docs
CPython Docs
logging system. Specifically, a warning will be formatted using :func:`warnings.formatwarning` and the resulting string logged to a logger named ``'py.warnings'`` with a severity of :const:`WARNING`. If *capture* is ``False``, the redirection of warnings to the logging system will stop, and warnings will be redirected...
logging system. Specifically, a warning will be formatted using :func:`warnings.formatwarning` and the resulting string logged to a logger named ``'py.warnings'`` with a severity of :const:`WARNING`. If *capture* is ``False``, the redirection of warnings to the logging system will stop, and warnings will be redirected...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3e66b5fa-75f9-4860-8039-4d3a4d8251fd
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,046
supabase-export-v2
d3531c00e98aff20
are otherwise the same as for :func:`debug`. Exception info is added to the logging message. This function should only be called from an exception handler. .. function:: log(level, msg, *args, **kwargs)
trusted_official_docs
CPython Docs
are otherwise the same as for :func:`debug`. Exception info is added to the logging message. This function should only be called from an exception handler. .. function:: log(level, msg, *args, **kwargs)
are otherwise the same as for :func:`debug`. Exception info is added to the logging message. This function should only be called from an exception handler. .. function:: log(level, msg, *args, **kwargs)
python, official-docs, cpython, P0
Local_Trusted_Corpus
3e78eccf-517e-490b-8c71-50b539ecbe27
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,093
supabase-export-v2
4e40c09b2d91e54f
and closing all handlers. This should be called at application exit and no further use of the logging system should be made after this call. When the logging module is imported, it registers this function as an exit handler (see :mod:`atexit`), so normally there's no need to do that manually.
trusted_official_docs
CPython Docs
and closing all handlers. This should be called at application exit and no further use of the logging system should be made after this call. When the logging module is imported, it registers this function as an exit handler (see :mod:`atexit`), so normally there's no need to do that manually.
and closing all handlers. This should be called at application exit and no further use of the logging system should be made after this call. When the logging module is imported, it registers this function as an exit handler (see :mod:`atexit`), so normally there's no need to do that manually.
python, official-docs, cpython, P0
Local_Trusted_Corpus
41a7cd0f-52cd-4275-808e-0aa8c813d29d
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,918
supabase-export-v2
8d95f72c35b94cf1
datefmt: A format string for the date/time portion of the logged output. If not specified, the default described in :meth:`formatTime` is used. :type datefmt: str :param style: Can be one of ``'%'``, ``'{'`` or ``'$'`` and determines how the format string will be merged with its data: using one of :ref:`old-string-fo...
trusted_official_docs
CPython Docs
datefmt: A format string for the date/time portion of the logged output. If not specified, the default described in :meth:`formatTime` is used. :type datefmt: str :param style: Can be one of ``'%'``, ``'{'`` or ``'$'`` and determines how the format string will be merged with its data: using one of :ref:`old-string-fo...
datefmt: A format string for the date/time portion of the logged output. If not specified, the default described in :meth:`formatTime` is used. :type datefmt: str :param style: Can be one of ``'%'``, ``'{'`` or ``'$'`` and determines how the format string will be merged with its data: using one of :ref:`old-string-fo...
python, official-docs, cpython, P0
Local_Trusted_Corpus
43af5891-1361-465f-baf4-28e12564cdb9
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,902
supabase-export-v2
3bc63aa9f7e19f41
.. method:: Handler.handleError(record) This method should be called from handlers when an exception is encountered during an :meth:`emit` call. If the module-level attribute :data:`raiseExceptions` is ``False``, exceptions get silently ignored. This is what is mostly wanted for a logging system - most users will no...
trusted_official_docs
CPython Docs
.. method:: Handler.handleError(record) This method should be called from handlers when an exception is encountered during an :meth:`emit` call. If the module-level attribute :data:`raiseExceptions` is ``False``, exceptions get silently ignored. This is what is mostly wanted for a logging system - most users will no...
.. method:: Handler.handleError(record) This method should be called from handlers when an exception is encountered during an :meth:`emit` call. If the module-level attribute :data:`raiseExceptions` is ``False``, exceptions get silently ignored. This is what is mostly wanted for a logging system - most users will no...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4459b3b3-08bb-4a37-9827-e34e06a29854
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,993
supabase-export-v2
ccd8848727f67948
and including the stack frame | | | | of the logging call which resulted in the | | | | creation of this record. | +----------------+-------------------------+-----------------------------------------------+ | thread | ``%(thread)d`` | Thread ID (if available). | +----------------+-------------------------+------------...
trusted_official_docs
CPython Docs
and including the stack frame | | | | of the logging call which resulted in the | | | | creation of this record. | +----------------+-------------------------+-----------------------------------------------+ | thread | ``%(thread)d`` | Thread ID (if available). | +----------------+-------------------------+------------...
and including the stack frame | | | | of the logging call which resulted in the | | | | creation of this record. | +----------------+-------------------------+-----------------------------------------------+ | thread | ``%(thread)d`` | Thread ID (if available). | +----------------+-------------------------+------------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
46c61fb0-dc80-4722-9167-06fe9fb3e923
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,030
supabase-export-v2
523da100d7ba3944
versionadded:: 3.2 This function has been provided, along with :func:`setLogRecordFactory`, to allow developers more control over how the :class:`LogRecord` representing a logging event is constructed. See :func:`setLogRecordFactory` for more information about the how the factory is called.
trusted_official_docs
CPython Docs
versionadded:: 3.2 This function has been provided, along with :func:`setLogRecordFactory`, to allow developers more control over how the :class:`LogRecord` representing a logging event is constructed. See :func:`setLogRecordFactory` for more information about the how the factory is called.
versionadded:: 3.2 This function has been provided, along with :func:`setLogRecordFactory`, to allow developers more control over how the :class:`LogRecord` representing a logging event is constructed. See :func:`setLogRecordFactory` for more information about the how the factory is called.
python, official-docs, cpython, P0
Local_Trusted_Corpus
46f66d5c-7577-4301-901f-5a2564254db1
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,000
supabase-export-v2
7818668873785a93
.. class:: LoggerAdapter(logger, extra=None, merge_extra=False) Returns an instance of :class:`LoggerAdapter` initialized with an underlying :class:`Logger` instance, an optional dict-like object (*extra*), and an optional boolean (*merge_extra*) indicating whether or not the *extra* argument of individual log calls...
trusted_official_docs
CPython Docs
.. class:: LoggerAdapter(logger, extra=None, merge_extra=False) Returns an instance of :class:`LoggerAdapter` initialized with an underlying :class:`Logger` instance, an optional dict-like object (*extra*), and an optional boolean (*merge_extra*) indicating whether or not the *extra* argument of individual log calls...
.. class:: LoggerAdapter(logger, extra=None, merge_extra=False) Returns an instance of :class:`LoggerAdapter` initialized with an underlying :class:`Logger` instance, an optional dict-like object (*extra*), and an optional boolean (*merge_extra*) indicating whether or not the *extra* argument of individual log calls...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4730d9bd-6b62-4362-827d-f5badc43fb5c
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,868
supabase-export-v2
c49439ad12f85b1b
relative to the predefined levels. If you define a level with the same numeric value, it overwrites the predefined value; the predefined name is lost. +-----------------------+---------------+-------------------------------------+ | Level | Numeric value | What it means / When to use it | +=======================+=====...
trusted_official_docs
CPython Docs
relative to the predefined levels. If you define a level with the same numeric value, it overwrites the predefined value; the predefined name is lost. +-----------------------+---------------+-------------------------------------+ | Level | Numeric value | What it means / When to use it | +=======================+=====...
relative to the predefined levels. If you define a level with the same numeric value, it overwrites the predefined value; the predefined name is lost. +-----------------------+---------------+-------------------------------------+ | Level | Numeric value | What it means / When to use it | +=======================+=====...
python, official-docs, cpython, P0
Local_Trusted_Corpus
47f02f95-4eb7-4b06-8587-9e7bd0bd6fda
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,777
supabase-export-v2
bf5774313d9e194e
The threshold of this logger, as set by the :meth:`setLevel` method. .. note:: Do not set this attribute directly - always use :meth:`setLevel`, which has checks for the level passed to it.
trusted_official_docs
CPython Docs
The threshold of this logger, as set by the :meth:`setLevel` method. .. note:: Do not set this attribute directly - always use :meth:`setLevel`, which has checks for the level passed to it.
The threshold of this logger, as set by the :meth:`setLevel` method. .. note:: Do not set this attribute directly - always use :meth:`setLevel`, which has checks for the level passed to it.
python, official-docs, cpython, P0
Local_Trusted_Corpus
48918ba1-ba13-4586-b068-02ba7df6a5e2
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,955
supabase-export-v2
fc792171e5bc6b6c
in place. This allows filters attached to a :class:`Handler` to modify the log record before it is emitted, without having side effects on other handlers. Although filters are used primarily to filter records based on more sophisticated criteria than levels, they get to see every record which is processed by the handle...
trusted_official_docs
CPython Docs
in place. This allows filters attached to a :class:`Handler` to modify the log record before it is emitted, without having side effects on other handlers. Although filters are used primarily to filter records based on more sophisticated criteria than levels, they get to see every record which is processed by the handle...
in place. This allows filters attached to a :class:`Handler` to modify the log record before it is emitted, without having side effects on other handlers. Although filters are used primarily to filter records based on more sophisticated criteria than levels, they get to see every record which is processed by the handle...
python, official-docs, cpython, P0
Local_Trusted_Corpus
48bc7fb8-be2f-457a-861a-199806c32399
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,969
supabase-export-v2
ae10d36ff796a8b9
tuple with the current exception information, as returned by :func:`sys.exc_info`, or ``None`` if no exception information is available. :type exc_info: tuple[type[BaseException], BaseException, types.TracebackType] | None :param func: The name of the function or method from which the logging call was invoked. :type f...
trusted_official_docs
CPython Docs
tuple with the current exception information, as returned by :func:`sys.exc_info`, or ``None`` if no exception information is available. :type exc_info: tuple[type[BaseException], BaseException, types.TracebackType] | None :param func: The name of the function or method from which the logging call was invoked. :type f...
tuple with the current exception information, as returned by :func:`sys.exc_info`, or ``None`` if no exception information is available. :type exc_info: tuple[type[BaseException], BaseException, types.TracebackType] | None :param func: The name of the function or method from which the logging call was invoked. :type f...
python, official-docs, cpython, P0
Local_Trusted_Corpus
48f6082a-b5a6-49bd-8ff5-a0768401eb35
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,798
supabase-export-v2
ed7b8842345f2ba3
is treated as the effective level of the logger where the ancestor search began, and is used to determine how a logging event is handled. If the root is reached, and it has a level of NOTSET, then all messages will be processed. Otherwise, the root's level will be used as the effective level.
trusted_official_docs
CPython Docs
is treated as the effective level of the logger where the ancestor search began, and is used to determine how a logging event is handled. If the root is reached, and it has a level of NOTSET, then all messages will be processed. Otherwise, the root's level will be used as the effective level.
is treated as the effective level of the logger where the ancestor search began, and is used to determine how a logging event is handled. If the root is reached, and it has a level of NOTSET, then all messages will be processed. Otherwise, the root's level will be used as the effective level.
python, official-docs, cpython, P0
Local_Trusted_Corpus
49883c25-35f4-43e9-818d-1461cc47e270
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,917
supabase-export-v2
aa499fb334908a62
possible mapping keys are drawn from the :class:`LogRecord` object's :ref:`logrecord-attributes`. If not specified, ``'%(message)s'`` is used, which is just the logged message. :type fmt: str :param datefmt: A format string for the date/time portion of the logged output. If not specified, the default described in :meth...
trusted_official_docs
CPython Docs
possible mapping keys are drawn from the :class:`LogRecord` object's :ref:`logrecord-attributes`. If not specified, ``'%(message)s'`` is used, which is just the logged message. :type fmt: str :param datefmt: A format string for the date/time portion of the logged output. If not specified, the default described in :meth...
possible mapping keys are drawn from the :class:`LogRecord` object's :ref:`logrecord-attributes`. If not specified, ``'%(message)s'`` is used, which is just the logged message. :type fmt: str :param datefmt: A format string for the date/time portion of the logged output. If not specified, the default described in :meth...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4a10c289-cbdb-4c77-9bc7-7fd7f8fd1851
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,813
supabase-export-v2
0f238b836d8d5304
use keywords in the format string, together with a single dictionary argument.) No % formatting operation is performed on *msg* when no *args* are supplied. There are four keyword arguments in *kwargs* which are inspected: *exc_info*, *stack_info*, *stacklevel* and *extra*.
trusted_official_docs
CPython Docs
use keywords in the format string, together with a single dictionary argument.) No % formatting operation is performed on *msg* when no *args* are supplied. There are four keyword arguments in *kwargs* which are inspected: *exc_info*, *stack_info*, *stacklevel* and *extra*.
use keywords in the format string, together with a single dictionary argument.) No % formatting operation is performed on *msg* when no *args* are supplied. There are four keyword arguments in *kwargs* which are inspected: *exc_info*, *stack_info*, *stacklevel* and *extra*.
python, official-docs, cpython, P0
Local_Trusted_Corpus
4a56dfdd-7358-415b-82db-789c7064a97e
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,966
supabase-export-v2
b8b5895f1df90306
:param lineno: The line number in the source file where the logging call was made. :type lineno: int :param msg: The event description message, which can be a %-format string with placeholders for variable data, or an arbitrary object (see :ref:`arbitrary-object-messages`). :type msg: typing.Any
trusted_official_docs
CPython Docs
:param lineno: The line number in the source file where the logging call was made. :type lineno: int :param msg: The event description message, which can be a %-format string with placeholders for variable data, or an arbitrary object (see :ref:`arbitrary-object-messages`). :type msg: typing.Any
:param lineno: The line number in the source file where the logging call was made. :type lineno: int :param msg: The event description message, which can be a %-format string with placeholders for variable data, or an arbitrary object (see :ref:`arbitrary-object-messages`). :type msg: typing.Any
python, official-docs, cpython, P0
Local_Trusted_Corpus
4dd24fc2-9ebc-4dac-91fd-5e647fc9cfe9
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,984
supabase-export-v2
eced3c204b0451d8
of ``{msecs:03.0f}`` would format a millisecond value of ``4`` as ``004``. Refer to the :meth:`str.format` documentation for full details on the options available to you. +----------------+-------------------------+-----------------------------------------------+ | Attribute name | Format | Description | +=============...
trusted_official_docs
CPython Docs
of ``{msecs:03.0f}`` would format a millisecond value of ``4`` as ``004``. Refer to the :meth:`str.format` documentation for full details on the options available to you. +----------------+-------------------------+-----------------------------------------------+ | Attribute name | Format | Description | +=============...
of ``{msecs:03.0f}`` would format a millisecond value of ``4`` as ``004``. Refer to the :meth:`str.format` documentation for full details on the options available to you. +----------------+-------------------------+-----------------------------------------------+ | Attribute name | Format | Description | +=============...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4f11f905-9def-4b68-be73-053243ca3913
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,017
supabase-export-v2
9199733ca6878956
Thread Safety ------------- The logging module is intended to be thread-safe without any special work needing to be done by its clients. It achieves this through using threading locks; there is one lock to serialize access to the module's shared data, and each handler also creates a lock to serialize access to its unde...
trusted_official_docs
CPython Docs
Thread Safety ------------- The logging module is intended to be thread-safe without any special work needing to be done by its clients. It achieves this through using threading locks; there is one lock to serialize access to the module's shared data, and each handler also creates a lock to serialize access to its unde...
Thread Safety ------------- The logging module is intended to be thread-safe without any special work needing to be done by its clients. It achieves this through using threading locks; there is one lock to serialize access to the module's shared data, and each handler also creates a lock to serialize access to its unde...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4f1465f9-0d6b-48ef-a6e0-107c173328cd
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,900
supabase-export-v2
7eea0119909048b8
.. method:: Handler.handle(record) Conditionally emits the specified logging record, depending on filters which may have been added to the handler. Wraps the actual emission of the record with acquisition/release of the I/O thread lock.
trusted_official_docs
CPython Docs
.. method:: Handler.handle(record) Conditionally emits the specified logging record, depending on filters which may have been added to the handler. Wraps the actual emission of the record with acquisition/release of the I/O thread lock.
.. method:: Handler.handle(record) Conditionally emits the specified logging record, depending on filters which may have been added to the handler. Wraps the actual emission of the record with acquisition/release of the I/O thread lock.
python, official-docs, cpython, P0
Local_Trusted_Corpus
508cdf1e-300a-45ab-962c-bebc913047ab
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,102
supabase-export-v2
2f2fb451c11a6a86
``factory(name, level, fn, lno, msg, args, exc_info, func=None, sinfo=None, **kwargs)`` :name: The logger name. :level: The logging level (numeric). :fn: The full pathname of the file where the logging call was made. :lno: The line number in the file where the logging call was made. :msg: The logging message. :args: Th...
trusted_official_docs
CPython Docs
``factory(name, level, fn, lno, msg, args, exc_info, func=None, sinfo=None, **kwargs)`` :name: The logger name. :level: The logging level (numeric). :fn: The full pathname of the file where the logging call was made. :lno: The line number in the file where the logging call was made. :msg: The logging message. :args: Th...
``factory(name, level, fn, lno, msg, args, exc_info, func=None, sinfo=None, **kwargs)`` :name: The logger name. :level: The logging level (numeric). :fn: The full pathname of the file where the logging call was made. :lno: The line number in the file where the logging call was made. :msg: The logging message. :args: Th...
python, official-docs, cpython, P0
Local_Trusted_Corpus
5322d7e2-3f28-410b-ae0c-1f5268eaabc7
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,804
supabase-export-v2
121c3ea696dd8887
.. method:: Logger.getEffectiveLevel() Indicates the effective level for this logger. If a value other than :const:`NOTSET` has been set using :meth:`setLevel`, it is returned. Otherwise, the hierarchy is traversed towards the root until a value other than :const:`NOTSET` is found, and that value is returned. The va...
trusted_official_docs
CPython Docs
.. method:: Logger.getEffectiveLevel() Indicates the effective level for this logger. If a value other than :const:`NOTSET` has been set using :meth:`setLevel`, it is returned. Otherwise, the hierarchy is traversed towards the root until a value other than :const:`NOTSET` is found, and that value is returned. The va...
.. method:: Logger.getEffectiveLevel() Indicates the effective level for this logger. If a value other than :const:`NOTSET` has been set using :meth:`setLevel`, it is returned. Otherwise, the hierarchy is traversed towards the root until a value other than :const:`NOTSET` is found, and that value is returned. The va...
python, official-docs, cpython, P0
Local_Trusted_Corpus
53664f6f-ceb6-4058-8ba4-d6d38a48aceb
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,797
supabase-export-v2
f7e6483ff5078b2a
NOTSET, its chain of ancestor loggers is traversed until either an ancestor with a level other than NOTSET is found, or the root is reached. If an ancestor is found with a level other than NOTSET, then that ancestor's level is treated as the effective level of the logger where the ancestor search began, and is used t...
trusted_official_docs
CPython Docs
NOTSET, its chain of ancestor loggers is traversed until either an ancestor with a level other than NOTSET is found, or the root is reached. If an ancestor is found with a level other than NOTSET, then that ancestor's level is treated as the effective level of the logger where the ancestor search began, and is used t...
NOTSET, its chain of ancestor loggers is traversed until either an ancestor with a level other than NOTSET is found, or the root is reached. If an ancestor is found with a level other than NOTSET, then that ancestor's level is treated as the effective level of the logger where the ancestor search began, and is used t...
python, official-docs, cpython, P0
Local_Trusted_Corpus
55bd6f16-0859-4243-85d3-4c5af075c3f1
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,040
supabase-export-v2
814b40f1c61fcfa3
There is an obsolete function ``warn`` which is functionally identical to ``warning``. As ``warn`` is deprecated, please do not use it - use ``warning`` instead. .. function:: error(msg, *args, **kwargs)
trusted_official_docs
CPython Docs
There is an obsolete function ``warn`` which is functionally identical to ``warning``. As ``warn`` is deprecated, please do not use it - use ``warning`` instead. .. function:: error(msg, *args, **kwargs)
There is an obsolete function ``warn`` which is functionally identical to ``warning``. As ``warn`` is deprecated, please do not use it - use ``warning`` instead. .. function:: error(msg, *args, **kwargs)
python, official-docs, cpython, P0
Local_Trusted_Corpus
55f07412-7921-48fe-90ae-ad25c69bdf24
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,056
supabase-export-v2
734f1e6280292e12
.. function:: getLevelNamesMapping() Returns a mapping from level names to their corresponding logging levels. For example, the string "CRITICAL" maps to :const:`CRITICAL`. The returned mapping is copied from an internal mapping on each call to this function.
trusted_official_docs
CPython Docs
.. function:: getLevelNamesMapping() Returns a mapping from level names to their corresponding logging levels. For example, the string "CRITICAL" maps to :const:`CRITICAL`. The returned mapping is copied from an internal mapping on each call to this function.
.. function:: getLevelNamesMapping() Returns a mapping from level names to their corresponding logging levels. For example, the string "CRITICAL" maps to :const:`CRITICAL`. The returned mapping is copied from an internal mapping on each call to this function.
python, official-docs, cpython, P0
Local_Trusted_Corpus
56519ced-789d-47af-9e45-8ac94747a60f
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,967
supabase-export-v2
123180672a4c2ebf
msg: The event description message, which can be a %-format string with placeholders for variable data, or an arbitrary object (see :ref:`arbitrary-object-messages`). :type msg: typing.Any :param args: Variable data to merge into the *msg* argument to obtain the event description. :type args: tuple | dict[str, typing....
trusted_official_docs
CPython Docs
msg: The event description message, which can be a %-format string with placeholders for variable data, or an arbitrary object (see :ref:`arbitrary-object-messages`). :type msg: typing.Any :param args: Variable data to merge into the *msg* argument to obtain the event description. :type args: tuple | dict[str, typing....
msg: The event description message, which can be a %-format string with placeholders for variable data, or an arbitrary object (see :ref:`arbitrary-object-messages`). :type msg: typing.Any :param args: Variable data to merge into the *msg* argument to obtain the event description. :type args: tuple | dict[str, typing....
python, official-docs, cpython, P0
Local_Trusted_Corpus
56c337f2-a374-4427-a453-6be5d05ef00d
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,051
supabase-export-v2
0569b5f49d505b4e
not recommended), you won't be able to rely on the default value for the *level* parameter, but will have to explicitly supply a suitable value. .. versionchanged:: 3.7 The *level* parameter was defaulted to level ``CRITICAL``. See :issue:`28524` for more information about this change.
trusted_official_docs
CPython Docs
not recommended), you won't be able to rely on the default value for the *level* parameter, but will have to explicitly supply a suitable value. .. versionchanged:: 3.7 The *level* parameter was defaulted to level ``CRITICAL``. See :issue:`28524` for more information about this change.
not recommended), you won't be able to rely on the default value for the *level* parameter, but will have to explicitly supply a suitable value. .. versionchanged:: 3.7 The *level* parameter was defaulted to level ``CRITICAL``. See :issue:`28524` for more information about this change.
python, official-docs, cpython, P0
Local_Trusted_Corpus
56f246c7-296e-4675-a7ba-d47dd5800bb9
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,950
supabase-export-v2
fd15a10fe63b1256
.. method:: filter(record) Is the specified record to be logged? Returns false for no, true for yes. Filters can either modify log records in-place or return a completely different record instance which will replace the original log record in any future processing of the event.
trusted_official_docs
CPython Docs
.. method:: filter(record) Is the specified record to be logged? Returns false for no, true for yes. Filters can either modify log records in-place or return a completely different record instance which will replace the original log record in any future processing of the event.
.. method:: filter(record) Is the specified record to be logged? Returns false for no, true for yes. Filters can either modify log records in-place or return a completely different record instance which will replace the original log record in any future processing of the event.
python, official-docs, cpython, P0
Local_Trusted_Corpus
576b7e7d-e0f1-40ae-bb7c-c8736468bded
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,794
supabase-export-v2
2c6681c280ddcabd
.. method:: Logger.setLevel(level) Sets the threshold for this logger to *level*. Logging messages which are less severe than *level* will be ignored; logging messages which have severity *level* or higher will be emitted by whichever handler or handlers service this logger, unless a handler's level has been set to ...
trusted_official_docs
CPython Docs
.. method:: Logger.setLevel(level) Sets the threshold for this logger to *level*. Logging messages which are less severe than *level* will be ignored; logging messages which have severity *level* or higher will be emitted by whichever handler or handlers service this logger, unless a handler's level has been set to ...
.. method:: Logger.setLevel(level) Sets the threshold for this logger to *level*. Logging messages which are less severe than *level* will be ignored; logging messages which have severity *level* or higher will be emitted by whichever handler or handlers service this logger, unless a handler's level has been set to ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
590d96f9-b58e-4016-b1ec-d2c2c9a41057
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,893
supabase-export-v2
031710fa5063bc11
.. method:: Handler.filter(record) Apply this handler's filters to the record and return ``True`` if the record is to be processed. The filters are consulted in turn, until one of them returns a false value. If none of them return a false value, the record will be emitted. If one returns a false value, the handler w...
trusted_official_docs
CPython Docs
.. method:: Handler.filter(record) Apply this handler's filters to the record and return ``True`` if the record is to be processed. The filters are consulted in turn, until one of them returns a false value. If none of them return a false value, the record will be emitted. If one returns a false value, the handler w...
.. method:: Handler.filter(record) Apply this handler's filters to the record and return ``True`` if the record is to be processed. The filters are consulted in turn, until one of them returns a false value. If none of them return a false value, the record will be emitted. If one returns a false value, the handler w...
python, official-docs, cpython, P0
Local_Trusted_Corpus
5b7e539e-ed31-4f7d-8d7f-cb0daebaf2c0
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,940
supabase-export-v2
0d5b78e2f57cc8ed
.. method:: formatHeader(records) Return a header for a list of *records*. The base implementation just returns the empty string. You will need to override this method if you want specific behaviour, e.g. to show the count of records, a title or a separator line.
trusted_official_docs
CPython Docs
.. method:: formatHeader(records) Return a header for a list of *records*. The base implementation just returns the empty string. You will need to override this method if you want specific behaviour, e.g. to show the count of records, a title or a separator line.
.. method:: formatHeader(records) Return a header for a list of *records*. The base implementation just returns the empty string. You will need to override this method if you want specific behaviour, e.g. to show the count of records, a title or a separator line.
python, official-docs, cpython, P0
Local_Trusted_Corpus
5cf17d7a-6659-4142-bcdd-b5fa1a322bcd
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,062
supabase-export-v2
cc136b00dc02f67b
parameter also accepts a string representation of the level such as 'INFO'. In such cases, this functions returns the corresponding numeric value of the level. If no matching numeric or string value is passed in, the string 'Level %s' % level is returned.
trusted_official_docs
CPython Docs
parameter also accepts a string representation of the level such as 'INFO'. In such cases, this functions returns the corresponding numeric value of the level. If no matching numeric or string value is passed in, the string 'Level %s' % level is returned.
parameter also accepts a string representation of the level such as 'INFO'. In such cases, this functions returns the corresponding numeric value of the level. If no matching numeric or string value is passed in, the string 'Level %s' % level is returned.
python, official-docs, cpython, P0
Local_Trusted_Corpus
5dc356ac-f738-4ae7-9518-8f34e9e8f5de
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,086
supabase-export-v2
dfc5ab5d144789ef
| *datefmt* and *style*, a ``ValueError`` is | | | raised to signal that these arguments would | | | lose meaning otherwise. | +--------------+---------------------------------------------+ .. versionchanged:: 3.2 The *style* argument was added.
trusted_official_docs
CPython Docs
| *datefmt* and *style*, a ``ValueError`` is | | | raised to signal that these arguments would | | | lose meaning otherwise. | +--------------+---------------------------------------------+ .. versionchanged:: 3.2 The *style* argument was added.
| *datefmt* and *style*, a ``ValueError`` is | | | raised to signal that these arguments would | | | lose meaning otherwise. | +--------------+---------------------------------------------+ .. versionchanged:: 3.2 The *style* argument was added.
python, official-docs, cpython, P0
Local_Trusted_Corpus
5e39efae-8c0c-44b9-be97-84a3d3d0528e
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,863
supabase-export-v2
d3d35c98b5b07cf0
.. method:: Logger.hasHandlers() Checks to see if this logger has any handlers configured. This is done by looking for handlers in this logger and its parents in the logger hierarchy. Returns ``True`` if a handler was found, else ``False``. The method stops searching up the hierarchy whenever a logger with the 'propa...
trusted_official_docs
CPython Docs
.. method:: Logger.hasHandlers() Checks to see if this logger has any handlers configured. This is done by looking for handlers in this logger and its parents in the logger hierarchy. Returns ``True`` if a handler was found, else ``False``. The method stops searching up the hierarchy whenever a logger with the 'propa...
.. method:: Logger.hasHandlers() Checks to see if this logger has any handlers configured. This is done by looking for handlers in this logger and its parents in the logger hierarchy. Returns ``True`` if a handler was found, else ``False``. The method stops searching up the hierarchy whenever a logger with the 'propa...
python, official-docs, cpython, P0
Local_Trusted_Corpus
60fc9ea7-b494-4919-87b4-a19d9819a098
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,077
supabase-export-v2
799db71ffeeee216
that a handler will be added to the root logger more than once, leading to unexpected results such as messages being duplicated in the log. The following keyword arguments are supported.
trusted_official_docs
CPython Docs
that a handler will be added to the root logger more than once, leading to unexpected results such as messages being duplicated in the log. The following keyword arguments are supported.
that a handler will be added to the root logger more than once, leading to unexpected results such as messages being duplicated in the log. The following keyword arguments are supported.
python, official-docs, cpython, P0
Local_Trusted_Corpus
63fc683a-2f6e-44cb-98a7-74238f71c223
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,985
supabase-export-v2
c038ea0dd8f27ae6
whose values | | | | are used for the merge (when there is only one| | | | argument, and it is a dictionary). | +----------------+-------------------------+-----------------------------------------------+ | asctime | ``%(asctime)s`` | Human-readable time when the | | | | :class:`LogRecord` was created. By default | | |...
trusted_official_docs
CPython Docs
whose values | | | | are used for the merge (when there is only one| | | | argument, and it is a dictionary). | +----------------+-------------------------+-----------------------------------------------+ | asctime | ``%(asctime)s`` | Human-readable time when the | | | | :class:`LogRecord` was created. By default | | |...
whose values | | | | are used for the merge (when there is only one| | | | argument, and it is a dictionary). | +----------------+-------------------------+-----------------------------------------------+ | asctime | ``%(asctime)s`` | Human-readable time when the | | | | :class:`LogRecord` was created. By default | | |...
python, official-docs, cpython, P0
Local_Trusted_Corpus
64c8e936-9871-4e24-906e-d64f5cd7edef
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,926
supabase-export-v2
5365a9e8784b2cf8
and sent across the wire, but you should be careful if you have more than one :class:`Formatter` subclass which customizes the formatting of exception information. In this case, you will have to clear the cached value (by setting the *exc_text* attribute to ``None``) after a formatter has done its formatting, so that...
trusted_official_docs
CPython Docs
and sent across the wire, but you should be careful if you have more than one :class:`Formatter` subclass which customizes the formatting of exception information. In this case, you will have to clear the cached value (by setting the *exc_text* attribute to ``None``) after a formatter has done its formatting, so that...
and sent across the wire, but you should be careful if you have more than one :class:`Formatter` subclass which customizes the formatting of exception information. In this case, you will have to clear the cached value (by setting the *exc_text* attribute to ``None``) after a formatter has done its formatting, so that...
python, official-docs, cpython, P0
Local_Trusted_Corpus
65f385cf-15a5-4648-a26c-b7f01fca3f10
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,002
supabase-export-v2
a067506fd70db5bc
.. method:: process(msg, kwargs) Modifies the message and/or keyword arguments passed to a logging call in order to insert contextual information. This implementation takes the object passed as *extra* to the constructor and adds it to *kwargs* using key 'extra'. The return value is a (*msg*, *kwargs*) tuple which h...
trusted_official_docs
CPython Docs
.. method:: process(msg, kwargs) Modifies the message and/or keyword arguments passed to a logging call in order to insert contextual information. This implementation takes the object passed as *extra* to the constructor and adds it to *kwargs* using key 'extra'. The return value is a (*msg*, *kwargs*) tuple which h...
.. method:: process(msg, kwargs) Modifies the message and/or keyword arguments passed to a logging call in order to insert contextual information. This implementation takes the object passed as *extra* to the constructor and adds it to *kwargs* using key 'extra'. The return value is a (*msg*, *kwargs*) tuple which h...
python, official-docs, cpython, P0
Local_Trusted_Corpus
6625020d-6e4c-4e63-8f18-cbe245cc10d5
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,907
supabase-export-v2
eed61e666521ab9d
Do whatever it takes to actually log the specified logging record. This version is intended to be implemented by subclasses and so raises a :exc:`NotImplementedError`. .. warning:: This method is called after a handler-level lock is acquired, which is released after this method returns. When you override this method, ...
trusted_official_docs
CPython Docs
Do whatever it takes to actually log the specified logging record. This version is intended to be implemented by subclasses and so raises a :exc:`NotImplementedError`. .. warning:: This method is called after a handler-level lock is acquired, which is released after this method returns. When you override this method, ...
Do whatever it takes to actually log the specified logging record. This version is intended to be implemented by subclasses and so raises a :exc:`NotImplementedError`. .. warning:: This method is called after a handler-level lock is acquired, which is released after this method returns. When you override this method, ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
66647c01-df3f-4f13-9d37-f46ccc47bbb0
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,856
supabase-export-v2
310e3f78d13e5fb5
.. method:: Logger.findCaller(stack_info=False, stacklevel=1) Finds the caller's source filename and line number. Returns the filename, line number, function name and stack information as a 4-element tuple. The stack information is returned as ``None`` unless *stack_info* is ``True``.
trusted_official_docs
CPython Docs
.. method:: Logger.findCaller(stack_info=False, stacklevel=1) Finds the caller's source filename and line number. Returns the filename, line number, function name and stack information as a 4-element tuple. The stack information is returned as ``None`` unless *stack_info* is ``True``.
.. method:: Logger.findCaller(stack_info=False, stacklevel=1) Finds the caller's source filename and line number. Returns the filename, line number, function name and stack information as a 4-element tuple. The stack information is returned as ``None`` unless *stack_info* is ``True``.
python, official-docs, cpython, P0
Local_Trusted_Corpus
668a94e8-55fc-4b7d-9804-c35195748666
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,836
supabase-export-v2
4a1646976d8abee6
Logs a message with level :const:`WARNING` on this logger. The arguments are interpreted as for :meth:`debug`. .. note:: There is an obsolete method ``warn`` which is functionally identical to ``warning``. As ``warn`` is deprecated, please do not use it - use ``warning`` instead.
trusted_official_docs
CPython Docs
Logs a message with level :const:`WARNING` on this logger. The arguments are interpreted as for :meth:`debug`. .. note:: There is an obsolete method ``warn`` which is functionally identical to ``warning``. As ``warn`` is deprecated, please do not use it - use ``warning`` instead.
Logs a message with level :const:`WARNING` on this logger. The arguments are interpreted as for :meth:`debug`. .. note:: There is an obsolete method ``warn`` which is functionally identical to ``warning``. As ``warn`` is deprecated, please do not use it - use ``warning`` instead.
python, official-docs, cpython, P0
Local_Trusted_Corpus
672f59fc-d71e-4d8d-a77c-6f4d18fb7f08
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,045
supabase-export-v2
a34bd71877919802
.. function:: exception(msg, *args, **kwargs) Logs a message with level :const:`ERROR` on the root logger. The arguments and behavior are otherwise the same as for :func:`debug`. Exception info is added to the logging message. This function should only be called from an exception handler.
trusted_official_docs
CPython Docs
.. function:: exception(msg, *args, **kwargs) Logs a message with level :const:`ERROR` on the root logger. The arguments and behavior are otherwise the same as for :func:`debug`. Exception info is added to the logging message. This function should only be called from an exception handler.
.. function:: exception(msg, *args, **kwargs) Logs a message with level :const:`ERROR` on the root logger. The arguments and behavior are otherwise the same as for :func:`debug`. Exception info is added to the logging message. This function should only be called from an exception handler.
python, official-docs, cpython, P0
Local_Trusted_Corpus
67e9c86a-9784-4551-9a5a-e20151e54571
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,099
supabase-export-v2
f982041dff21eaa1
:param factory: The factory callable to be used to instantiate a log record. .. versionadded:: 3.2 This function has been provided, along with :func:`getLogRecordFactory`, to allow developers more control over how the :class:`LogRecord` representing a logging event is constructed.
trusted_official_docs
CPython Docs
:param factory: The factory callable to be used to instantiate a log record. .. versionadded:: 3.2 This function has been provided, along with :func:`getLogRecordFactory`, to allow developers more control over how the :class:`LogRecord` representing a logging event is constructed.
:param factory: The factory callable to be used to instantiate a log record. .. versionadded:: 3.2 This function has been provided, along with :func:`getLogRecordFactory`, to allow developers more control over how the :class:`LogRecord` representing a logging event is constructed.
python, official-docs, cpython, P0
Local_Trusted_Corpus
692f9e99-766d-4297-bdc5-00849b3ad87a
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,989
supabase-export-v2
00fd66151b8fa673
| | :const:`CRITICAL`). | +----------------+-------------------------+-----------------------------------------------+ | lineno | ``%(lineno)d`` | Source line number where the logging call was | | | | issued (if available). | +----------------+-------------------------+-----------------------------------------------+ |...
trusted_official_docs
CPython Docs
| | :const:`CRITICAL`). | +----------------+-------------------------+-----------------------------------------------+ | lineno | ``%(lineno)d`` | Source line number where the logging call was | | | | issued (if available). | +----------------+-------------------------+-----------------------------------------------+ |...
| | :const:`CRITICAL`). | +----------------+-------------------------+-----------------------------------------------+ | lineno | ``%(lineno)d`` | Source line number where the logging call was | | | | issued (if available). | +----------------+-------------------------+-----------------------------------------------+ |...
python, official-docs, cpython, P0
Local_Trusted_Corpus
6d056593-5509-4f0d-a6f4-97a3b033ef3d
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,812
supabase-export-v2
c1535e79c6b2fd60
.. method:: Logger.debug(msg, *args, **kwargs) Logs a message with level :const:`DEBUG` on this logger. The *msg* is the message format string, and the *args* are the arguments which are merged into *msg* using the string formatting operator. (Note that this means that you can use keywords in the format string, toge...
trusted_official_docs
CPython Docs
.. method:: Logger.debug(msg, *args, **kwargs) Logs a message with level :const:`DEBUG` on this logger. The *msg* is the message format string, and the *args* are the arguments which are merged into *msg* using the string formatting operator. (Note that this means that you can use keywords in the format string, toge...
.. method:: Logger.debug(msg, *args, **kwargs) Logs a message with level :const:`DEBUG` on this logger. The *msg* is the message format string, and the *args* are the arguments which are merged into *msg* using the string formatting operator. (Note that this means that you can use keywords in the format string, toge...
python, official-docs, cpython, P0
Local_Trusted_Corpus
6ed29c4a-2309-43b6-b2c4-1c500613494f
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,060
supabase-export-v2
d73bd25fb4acb25e
Returns the textual or numeric representation of logging level *level*. If *level* is one of the predefined levels :const:`CRITICAL`, :const:`ERROR`, :const:`WARNING`, :const:`INFO` or :const:`DEBUG` then you get the corresponding string. If you have associated levels with names using :func:`addLevelName` then the n...
trusted_official_docs
CPython Docs
Returns the textual or numeric representation of logging level *level*. If *level* is one of the predefined levels :const:`CRITICAL`, :const:`ERROR`, :const:`WARNING`, :const:`INFO` or :const:`DEBUG` then you get the corresponding string. If you have associated levels with names using :func:`addLevelName` then the n...
Returns the textual or numeric representation of logging level *level*. If *level* is one of the predefined levels :const:`CRITICAL`, :const:`ERROR`, :const:`WARNING`, :const:`INFO` or :const:`DEBUG` then you get the corresponding string. If you have associated levels with names using :func:`addLevelName` then the n...
python, official-docs, cpython, P0
Local_Trusted_Corpus
728156e6-1e0f-4b29-9de1-5bf80c6a1e80
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,929
supabase-export-v2
97b0c486149cc1b1
.. method:: formatTime(record, datefmt=None) This method should be called from :meth:`format` by a formatter which wants to make use of a formatted time. This method can be overridden in formatters to provide for any specific requirement, but the basic behavior is as follows: if *datefmt* (a string) is specified, it...
trusted_official_docs
CPython Docs
.. method:: formatTime(record, datefmt=None) This method should be called from :meth:`format` by a formatter which wants to make use of a formatted time. This method can be overridden in formatters to provide for any specific requirement, but the basic behavior is as follows: if *datefmt* (a string) is specified, it...
.. method:: formatTime(record, datefmt=None) This method should be called from :meth:`format` by a formatter which wants to make use of a formatted time. This method can be overridden in formatters to provide for any specific requirement, but the basic behavior is as follows: if *datefmt* (a string) is specified, it...
python, official-docs, cpython, P0
Local_Trusted_Corpus
732e4f1a-0a1f-43f0-824d-d04bb3d644fe
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,786
supabase-export-v2
14f94fd4b8a89f33
The constructor sets this attribute to ``True``. .. note:: If you attach a handler to a logger *and* one or more of its ancestors, it may emit the same record multiple times. In general, you should not need to attach a handler to more than one logger - if you just attach it to the appropriate logger which is highest...
trusted_official_docs
CPython Docs
The constructor sets this attribute to ``True``. .. note:: If you attach a handler to a logger *and* one or more of its ancestors, it may emit the same record multiple times. In general, you should not need to attach a handler to more than one logger - if you just attach it to the appropriate logger which is highest...
The constructor sets this attribute to ``True``. .. note:: If you attach a handler to a logger *and* one or more of its ancestors, it may emit the same record multiple times. In general, you should not need to attach a handler to more than one logger - if you just attach it to the appropriate logger which is highest...
python, official-docs, cpython, P0
Local_Trusted_Corpus
75cfd20a-6d22-4a0a-91f4-319c0cc546c6
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,970
supabase-export-v2
06bd556b5dbb09ed
:param func: The name of the function or method from which the logging call was invoked. :type func: str | None :param sinfo: A text string representing stack information from the base of the stack in the current thread, up to the logging call. :type sinfo: str | None
trusted_official_docs
CPython Docs
:param func: The name of the function or method from which the logging call was invoked. :type func: str | None :param sinfo: A text string representing stack information from the base of the stack in the current thread, up to the logging call. :type sinfo: str | None
:param func: The name of the function or method from which the logging call was invoked. :type func: str | None :param sinfo: A text string representing stack information from the base of the stack in the current thread, up to the logging call. :type sinfo: str | None
python, official-docs, cpython, P0
Local_Trusted_Corpus
760ccd36-7866-48a3-b49a-51eb5fe6ae57
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,938
supabase-export-v2
cd4100f73a994e05
.. class:: BufferingFormatter(linefmt=None) A base formatter class suitable for subclassing when you want to format a number of records. You can pass a :class:`Formatter` instance which you want to use to format each line (that corresponds to a single record). If not specified, the default formatter (which just outp...
trusted_official_docs
CPython Docs
.. class:: BufferingFormatter(linefmt=None) A base formatter class suitable for subclassing when you want to format a number of records. You can pass a :class:`Formatter` instance which you want to use to format each line (that corresponds to a single record). If not specified, the default formatter (which just outp...
.. class:: BufferingFormatter(linefmt=None) A base formatter class suitable for subclassing when you want to format a number of records. You can pass a :class:`Formatter` instance which you want to use to format each line (that corresponds to a single record). If not specified, the default formatter (which just outp...
python, official-docs, cpython, P0
Local_Trusted_Corpus
760fd47a-358d-438e-b099-f5fc784a8d27
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,959
supabase-export-v2
a161914c760c3c8e
by the :class:`Logger` every time something is logged, and can be created manually via :func:`makeLogRecord` (for example, from a pickled event received over the wire). .. class:: LogRecord(name, level, pathname, lineno, msg, args, exc_info, func=None, sinfo=None)
trusted_official_docs
CPython Docs
by the :class:`Logger` every time something is logged, and can be created manually via :func:`makeLogRecord` (for example, from a pickled event received over the wire). .. class:: LogRecord(name, level, pathname, lineno, msg, args, exc_info, func=None, sinfo=None)
by the :class:`Logger` every time something is logged, and can be created manually via :func:`makeLogRecord` (for example, from a pickled event received over the wire). .. class:: LogRecord(name, level, pathname, lineno, msg, args, exc_info, func=None, sinfo=None)
python, official-docs, cpython, P0
Local_Trusted_Corpus
780679f4-3799-4a74-8287-6f1298cb191c
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,986
supabase-export-v2
7a09d25f2bd384d6
the time). | +----------------+-------------------------+-----------------------------------------------+ | created | ``%(created)f`` | Time when the :class:`LogRecord` was created | | | | (as returned by :func:`time.time_ns` / 1e9). | +----------------+-------------------------+----------------------------------------...
trusted_official_docs
CPython Docs
the time). | +----------------+-------------------------+-----------------------------------------------+ | created | ``%(created)f`` | Time when the :class:`LogRecord` was created | | | | (as returned by :func:`time.time_ns` / 1e9). | +----------------+-------------------------+----------------------------------------...
the time). | +----------------+-------------------------+-----------------------------------------------+ | created | ``%(created)f`` | Time when the :class:`LogRecord` was created | | | | (as returned by :func:`time.time_ns` / 1e9). | +----------------+-------------------------+----------------------------------------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
7964b8d9-3eda-45f5-94ed-e8f94a39b86c
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,983
supabase-export-v2
5570bed8084467c4
you are using $-formatting (:class:`string.Template`), use the form ``${attrname}``. In both cases, of course, replace ``attrname`` with the actual attribute name you want to use. In the case of {}-formatting, you can specify formatting flags by placing them after the attribute name, separated from it with a colon. For...
trusted_official_docs
CPython Docs
you are using $-formatting (:class:`string.Template`), use the form ``${attrname}``. In both cases, of course, replace ``attrname`` with the actual attribute name you want to use. In the case of {}-formatting, you can specify formatting flags by placing them after the attribute name, separated from it with a colon. For...
you are using $-formatting (:class:`string.Template`), use the form ``${attrname}``. In both cases, of course, replace ``attrname`` with the actual attribute name you want to use. In the case of {}-formatting, you can specify formatting flags by placing them after the attribute name, separated from it with a colon. For...
python, official-docs, cpython, P0
Local_Trusted_Corpus
79e9f8e8-1479-46cc-bc56-9afd2ae6fbbd
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,869
supabase-export-v2
d835cd4569997ca4
all events | | | | are logged. When set on a handler, | | | | all events are handled. | +-----------------------+---------------+-------------------------------------+ | .. py:data:: DEBUG | 10 | Detailed information, typically only| | | | of interest to a developer trying to| | | | diagnose a problem. | +-------------...
trusted_official_docs
CPython Docs
all events | | | | are logged. When set on a handler, | | | | all events are handled. | +-----------------------+---------------+-------------------------------------+ | .. py:data:: DEBUG | 10 | Detailed information, typically only| | | | of interest to a developer trying to| | | | diagnose a problem. | +-------------...
all events | | | | are logged. When set on a handler, | | | | all events are handled. | +-----------------------+---------------+-------------------------------------+ | .. py:data:: DEBUG | 10 | Detailed information, typically only| | | | of interest to a developer trying to| | | | diagnose a problem. | +-------------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
7d2f864c-89cc-4f6e-b9f7-43d7b6199770
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,870
supabase-export-v2
481c378b4b0c2566
| unexpected happened, or that a | | | | problem might occur in the near | | | | future (e.g. 'disk space low'). The | | | | software is still working as | | | | expected. | +-----------------------+---------------+-------------------------------------+ | .. py:data:: ERROR | 40 | Due to a more serious problem, the | |...
trusted_official_docs
CPython Docs
| unexpected happened, or that a | | | | problem might occur in the near | | | | future (e.g. 'disk space low'). The | | | | software is still working as | | | | expected. | +-----------------------+---------------+-------------------------------------+ | .. py:data:: ERROR | 40 | Due to a more serious problem, the | |...
| unexpected happened, or that a | | | | problem might occur in the near | | | | future (e.g. 'disk space low'). The | | | | software is still working as | | | | expected. | +-----------------------+---------------+-------------------------------------+ | .. py:data:: ERROR | 40 | Due to a more serious problem, the | |...
python, official-docs, cpython, P0
Local_Trusted_Corpus
84240063-6885-4537-b8fe-8cbe79b4fe8a
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,105
supabase-export-v2
13c414b39446967e
.. data:: lastResort A "handler of last resort" is available through this attribute. This is a :class:`StreamHandler` writing to ``sys.stderr`` with a level of ``WARNING``, and is used to handle logging events in the absence of any logging configuration. The end result is to just print the message to ``sys.stderr``...
trusted_official_docs
CPython Docs
.. data:: lastResort A "handler of last resort" is available through this attribute. This is a :class:`StreamHandler` writing to ``sys.stderr`` with a level of ``WARNING``, and is used to handle logging events in the absence of any logging configuration. The end result is to just print the message to ``sys.stderr``...
.. data:: lastResort A "handler of last resort" is available through this attribute. This is a :class:`StreamHandler` writing to ``sys.stderr`` with a level of ``WARNING``, and is used to handle logging events in the absence of any logging configuration. The end result is to just print the message to ``sys.stderr``...
python, official-docs, cpython, P0
Local_Trusted_Corpus
8436668b-5de0-4d0c-831e-048e519654b2
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,860
supabase-export-v2
a4a02e45b0e1844b
is found). This method is used for unpickled records received from a socket, as well as those created locally. Logger-level filtering is applied using :meth:`~Logger.filter`. .. method:: Logger.makeRecord(name, level, fn, lno, msg, args, exc_info, func=None, extra=None, sinfo=None)
trusted_official_docs
CPython Docs
is found). This method is used for unpickled records received from a socket, as well as those created locally. Logger-level filtering is applied using :meth:`~Logger.filter`. .. method:: Logger.makeRecord(name, level, fn, lno, msg, args, exc_info, func=None, extra=None, sinfo=None)
is found). This method is used for unpickled records received from a socket, as well as those created locally. Logger-level filtering is applied using :meth:`~Logger.filter`. .. method:: Logger.makeRecord(name, level, fn, lno, msg, args, exc_info, func=None, extra=None, sinfo=None)
python, official-docs, cpython, P0
Local_Trusted_Corpus
8522cdc2-8f16-4e08-a70c-9ba231fbcb95
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,968
supabase-export-v2
f55b05bbe33f548b
:param args: Variable data to merge into the *msg* argument to obtain the event description. :type args: tuple | dict[str, typing.Any] :param exc_info: An exception tuple with the current exception information, as returned by :func:`sys.exc_info`, or ``None`` if no exception information is available. :type exc_info: ...
trusted_official_docs
CPython Docs
:param args: Variable data to merge into the *msg* argument to obtain the event description. :type args: tuple | dict[str, typing.Any] :param exc_info: An exception tuple with the current exception information, as returned by :func:`sys.exc_info`, or ``None`` if no exception information is available. :type exc_info: ...
:param args: Variable data to merge into the *msg* argument to obtain the event description. :type args: tuple | dict[str, typing.Any] :param exc_info: An exception tuple with the current exception information, as returned by :func:`sys.exc_info`, or ``None`` if no exception information is available. :type exc_info: ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
8592a87e-6ff1-4167-b5ee-e19e7bc917b0
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,110
supabase-export-v2
cebeaf456eebe4de
mostly wanted for a logging system - most users will not care about errors in the logging system, they are more interested in application errors. Integration with the warnings module ------------------------------------
trusted_official_docs
CPython Docs
mostly wanted for a logging system - most users will not care about errors in the logging system, they are more interested in application errors. Integration with the warnings module ------------------------------------
mostly wanted for a logging system - most users will not care about errors in the logging system, they are more interested in application errors. Integration with the warnings module ------------------------------------
python, official-docs, cpython, P0
Local_Trusted_Corpus
86d7350e-a0ee-48cc-93fd-6692e4c24f6f
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,789
supabase-export-v2
de8ba93bae919d57
The list of handlers directly attached to this logger instance. .. note:: This attribute should be treated as read-only; it is normally changed via the :meth:`addHandler` and :meth:`removeHandler` methods, which use locks to ensure thread-safe operation.
trusted_official_docs
CPython Docs
The list of handlers directly attached to this logger instance. .. note:: This attribute should be treated as read-only; it is normally changed via the :meth:`addHandler` and :meth:`removeHandler` methods, which use locks to ensure thread-safe operation.
The list of handlers directly attached to this logger instance. .. note:: This attribute should be treated as read-only; it is normally changed via the :meth:`addHandler` and :meth:`removeHandler` methods, which use locks to ensure thread-safe operation.
python, official-docs, cpython, P0
Local_Trusted_Corpus
8858e791-0d4d-4c33-baad-e7cdfd251575
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,932
supabase-export-v2
66e8fc10926ee40e
at the instance level when desired. The names of the attributes are ``default_time_format`` (for the strptime format string) and ``default_msec_format`` (for appending the millisecond value). .. versionchanged:: 3.9 The ``default_msec_format`` can be ``None``.
trusted_official_docs
CPython Docs
at the instance level when desired. The names of the attributes are ``default_time_format`` (for the strptime format string) and ``default_msec_format`` (for appending the millisecond value). .. versionchanged:: 3.9 The ``default_msec_format`` can be ``None``.
at the instance level when desired. The names of the attributes are ``default_time_format`` (for the strptime format string) and ``default_msec_format`` (for appending the millisecond value). .. versionchanged:: 3.9 The ``default_msec_format`` can be ``None``.
python, official-docs, cpython, P0
Local_Trusted_Corpus
89a5309a-92e5-4ff3-b45d-ca0d70d52486
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,780
supabase-export-v2
38519d58d3e8180f
The parent logger of this logger. It may change based on later instantiation of loggers which are higher up in the namespace hierarchy. .. note:: This value should be treated as read-only.
trusted_official_docs
CPython Docs
The parent logger of this logger. It may change based on later instantiation of loggers which are higher up in the namespace hierarchy. .. note:: This value should be treated as read-only.
The parent logger of this logger. It may change based on later instantiation of loggers which are higher up in the namespace hierarchy. .. note:: This value should be treated as read-only.
python, official-docs, cpython, P0
Local_Trusted_Corpus
8d8e195f-d0fe-4183-9005-0a5201c24c07
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,972
supabase-export-v2
4060b2f320b05970
.. method:: getMessage() Returns the message for this :class:`LogRecord` instance after merging any user-supplied arguments with the message. If the user-supplied message argument to the logging call is not a string, :func:`str` is called on it to convert it to a string. This allows use of user-defined classes as m...
trusted_official_docs
CPython Docs
.. method:: getMessage() Returns the message for this :class:`LogRecord` instance after merging any user-supplied arguments with the message. If the user-supplied message argument to the logging call is not a string, :func:`str` is called on it to convert it to a string. This allows use of user-defined classes as m...
.. method:: getMessage() Returns the message for this :class:`LogRecord` instance after merging any user-supplied arguments with the message. If the user-supplied message argument to the logging call is not a string, :func:`str` is called on it to convert it to a string. This allows use of user-defined classes as m...
python, official-docs, cpython, P0
Local_Trusted_Corpus
8e303777-3f5c-466e-8439-066bef6b60ec
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,990
supabase-export-v2
74cddd903572dcb6
(name portion of ``filename``). | +----------------+-------------------------+-----------------------------------------------+ | msecs | ``%(msecs)d`` | Millisecond portion of the time when the | | | | :class:`LogRecord` was created. | +----------------+-------------------------+----------------------------------------...
trusted_official_docs
CPython Docs
(name portion of ``filename``). | +----------------+-------------------------+-----------------------------------------------+ | msecs | ``%(msecs)d`` | Millisecond portion of the time when the | | | | :class:`LogRecord` was created. | +----------------+-------------------------+----------------------------------------...
(name portion of ``filename``). | +----------------+-------------------------+-----------------------------------------------+ | msecs | ``%(msecs)d`` | Millisecond portion of the time when the | | | | :class:`LogRecord` was created. | +----------------+-------------------------+----------------------------------------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
8ff83282-74b6-4a54-a0e1-8154019632c0
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,981
supabase-export-v2
c5c97e81138a93d8
LogRecord attributes -------------------- The LogRecord has a number of attributes, most of which are derived from the parameters to the constructor. (Note that the names do not always correspond exactly between the LogRecord constructor parameters and the LogRecord attributes.) These attributes can be used to merge da...
trusted_official_docs
CPython Docs
LogRecord attributes -------------------- The LogRecord has a number of attributes, most of which are derived from the parameters to the constructor. (Note that the names do not always correspond exactly between the LogRecord constructor parameters and the LogRecord attributes.) These attributes can be used to merge da...
LogRecord attributes -------------------- The LogRecord has a number of attributes, most of which are derived from the parameters to the constructor. (Note that the names do not always correspond exactly between the LogRecord constructor parameters and the LogRecord attributes.) These attributes can be used to merge da...
python, official-docs, cpython, P0
Local_Trusted_Corpus
926676c9-f002-4008-9d87-08693879f407
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,951
supabase-export-v2
8f44b8e6af97eba5
modify log records in-place or return a completely different record instance which will replace the original log record in any future processing of the event. Note that filters attached to handlers are consulted before an event is emitted by the handler, whereas filters attached to loggers are consulted whenever an eve...
trusted_official_docs
CPython Docs
modify log records in-place or return a completely different record instance which will replace the original log record in any future processing of the event. Note that filters attached to handlers are consulted before an event is emitted by the handler, whereas filters attached to loggers are consulted whenever an eve...
modify log records in-place or return a completely different record instance which will replace the original log record in any future processing of the event. Note that filters attached to handlers are consulted before an event is emitted by the handler, whereas filters attached to loggers are consulted whenever an eve...
python, official-docs, cpython, P0
Local_Trusted_Corpus
929ed630-50ae-4767-9e11-074998c425c7
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,875
supabase-export-v2
ce3b572e581c9fd2
.. method:: Handler.__init__(level=NOTSET) Initializes the :class:`Handler` instance by setting its level, setting the list of filters to the empty list and creating a lock (using :meth:`createLock`) for serializing access to an I/O mechanism.
trusted_official_docs
CPython Docs
.. method:: Handler.__init__(level=NOTSET) Initializes the :class:`Handler` instance by setting its level, setting the list of filters to the empty list and creating a lock (using :meth:`createLock`) for serializing access to an I/O mechanism.
.. method:: Handler.__init__(level=NOTSET) Initializes the :class:`Handler` instance by setting its level, setting the list of filters to the empty list and creating a lock (using :meth:`createLock`) for serializing access to an I/O mechanism.
python, official-docs, cpython, P0
Local_Trusted_Corpus
93e7f5f5-e784-4f4a-81f6-528eec5afa75
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,023
supabase-export-v2
ebff21fcbdec0c0c
is using logging, though it is recommended that ``__name__`` be used unless you have a specific reason for not doing that, as mentioned in :ref:`logger`. All calls to this function with a given name return the same logger instance. This means that logger instances never need to be passed between different parts of an ...
trusted_official_docs
CPython Docs
is using logging, though it is recommended that ``__name__`` be used unless you have a specific reason for not doing that, as mentioned in :ref:`logger`. All calls to this function with a given name return the same logger instance. This means that logger instances never need to be passed between different parts of an ...
is using logging, though it is recommended that ``__name__`` be used unless you have a specific reason for not doing that, as mentioned in :ref:`logger`. All calls to this function with a given name return the same logger instance. This means that logger instances never need to be passed between different parts of an ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
94c3b1f8-399b-486b-8164-b0e305f83dfc
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,022
supabase-export-v2
73125d5918522f48
.. function:: getLogger(name=None) Return a logger with the specified name or, if name is ``None``, return the root logger of the hierarchy. If specified, the name is typically a dot-separated hierarchical name like *'a'*, *'a.b'* or *'a.b.c.d'*. Choice of these names is entirely up to the developer who is using log...
trusted_official_docs
CPython Docs
.. function:: getLogger(name=None) Return a logger with the specified name or, if name is ``None``, return the root logger of the hierarchy. If specified, the name is typically a dot-separated hierarchical name like *'a'*, *'a.b'* or *'a.b.c.d'*. Choice of these names is entirely up to the developer who is using log...
.. function:: getLogger(name=None) Return a logger with the specified name or, if name is ``None``, return the root logger of the hierarchy. If specified, the name is typically a dot-separated hierarchical name like *'a'*, *'a.b'* or *'a.b.c.d'*. Choice of these names is entirely up to the developer who is using log...
python, official-docs, cpython, P0
Local_Trusted_Corpus
95188889-b16c-487f-a0bf-fa2c8205407a
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,978
supabase-export-v2
fbdda9ea75a8ca59
logging.setLogRecordFactory(record_factory) With this pattern, multiple factories could be chained, and as long as they don't overwrite each other's attributes or unintentionally overwrite the standard attributes listed above, there should be no surprises.
trusted_official_docs
CPython Docs
logging.setLogRecordFactory(record_factory) With this pattern, multiple factories could be chained, and as long as they don't overwrite each other's attributes or unintentionally overwrite the standard attributes listed above, there should be no surprises.
logging.setLogRecordFactory(record_factory) With this pattern, multiple factories could be chained, and as long as they don't overwrite each other's attributes or unintentionally overwrite the standard attributes listed above, there should be no surprises.
python, official-docs, cpython, P0
Local_Trusted_Corpus
9730f927-b0ce-4b35-a408-7f68e3396480
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,987
supabase-export-v2
380261786c84bf6a
| | invoked, or ``None`` if no exception has | | | | occurred. | +----------------+-------------------------+-----------------------------------------------+ | filename | ``%(filename)s`` | Filename portion of ``pathname``. | +----------------+-------------------------+-----------------------------------------------+ |...
trusted_official_docs
CPython Docs
| | invoked, or ``None`` if no exception has | | | | occurred. | +----------------+-------------------------+-----------------------------------------------+ | filename | ``%(filename)s`` | Filename portion of ``pathname``. | +----------------+-------------------------+-----------------------------------------------+ |...
| | invoked, or ``None`` if no exception has | | | | occurred. | +----------------+-------------------------+-----------------------------------------------+ | filename | ``%(filename)s`` | Filename portion of ``pathname``. | +----------------+-------------------------+-----------------------------------------------+ |...
python, official-docs, cpython, P0
Local_Trusted_Corpus
98baa5f8-5dd2-45ba-832d-bfd13aa6fbc1
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,898
supabase-export-v2
e18c40804ccc410b
the handler. This version does no output but removes the handler from an internal map of handlers, which is used for handler lookup by name. Subclasses should ensure that this gets called from overridden :meth:`close` methods.
trusted_official_docs
CPython Docs
the handler. This version does no output but removes the handler from an internal map of handlers, which is used for handler lookup by name. Subclasses should ensure that this gets called from overridden :meth:`close` methods.
the handler. This version does no output but removes the handler from an internal map of handlers, which is used for handler lookup by name. Subclasses should ensure that this gets called from overridden :meth:`close` methods.
python, official-docs, cpython, P0
Local_Trusted_Corpus
9a0d4872-3014-4def-842c-c0f839afc15b
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,953
supabase-export-v2
627e20c980c84eb3
You don't actually need to subclass ``Filter``: you can pass any instance which has a ``filter`` method with the same semantics. .. versionchanged:: 3.2 You don't need to create specialized ``Filter`` classes, or use other classes with a ``filter`` method: you can use a function (or other callable) as a filter. The ...
trusted_official_docs
CPython Docs
You don't actually need to subclass ``Filter``: you can pass any instance which has a ``filter`` method with the same semantics. .. versionchanged:: 3.2 You don't need to create specialized ``Filter`` classes, or use other classes with a ``filter`` method: you can use a function (or other callable) as a filter. The ...
You don't actually need to subclass ``Filter``: you can pass any instance which has a ``filter`` method with the same semantics. .. versionchanged:: 3.2 You don't need to create specialized ``Filter`` classes, or use other classes with a ``filter`` method: you can use a function (or other callable) as a filter. The ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9b23d7ad-6925-47be-884b-8f4fba320115
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,859
supabase-export-v2
9f1204ef250a46c0
.. method:: Logger.handle(record) Handles a record by passing it to all handlers associated with this logger and its ancestors (until a false value of *propagate* is found). This method is used for unpickled records received from a socket, as well as those created locally. Logger-level filtering is applied using :met...
trusted_official_docs
CPython Docs
.. method:: Logger.handle(record) Handles a record by passing it to all handlers associated with this logger and its ancestors (until a false value of *propagate* is found). This method is used for unpickled records received from a socket, as well as those created locally. Logger-level filtering is applied using :met...
.. method:: Logger.handle(record) Handles a record by passing it to all handlers associated with this logger and its ancestors (until a false value of *propagate* is found). This method is used for unpickled records received from a socket, as well as those created locally. Logger-level filtering is applied using :met...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9b355049-5ced-4f41-94d3-01731e01c4aa
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,919
supabase-export-v2
e27fc1b9513bebf8
actual log messages passed to the logging methods. However, there are :ref:`other ways <formatting-styles>` to use ``{``- and ``$``-formatting for log messages. :type style: str :param validate: If ``True`` (the default), incorrect or mismatched *fmt* and *style* will raise a :exc:`ValueError`; for example, ``logging...
trusted_official_docs
CPython Docs
actual log messages passed to the logging methods. However, there are :ref:`other ways <formatting-styles>` to use ``{``- and ``$``-formatting for log messages. :type style: str :param validate: If ``True`` (the default), incorrect or mismatched *fmt* and *style* will raise a :exc:`ValueError`; for example, ``logging...
actual log messages passed to the logging methods. However, there are :ref:`other ways <formatting-styles>` to use ``{``- and ``$``-formatting for log messages. :type style: str :param validate: If ``True`` (the default), incorrect or mismatched *fmt* and *style* will raise a :exc:`ValueError`; for example, ``logging...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9c33777a-4df0-4fbc-953b-53611e78d718
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,806
supabase-export-v2
516e5e5bb2f13142
.. method:: Logger.getChild(suffix) Returns a logger which is a descendant to this logger, as determined by the suffix. Thus, ``logging.getLogger('abc').getChild('def.ghi')`` would return the same logger as would be returned by ``logging.getLogger('abc.def.ghi')``. This is a convenience method, useful when the parent...
trusted_official_docs
CPython Docs
.. method:: Logger.getChild(suffix) Returns a logger which is a descendant to this logger, as determined by the suffix. Thus, ``logging.getLogger('abc').getChild('def.ghi')`` would return the same logger as would be returned by ``logging.getLogger('abc.def.ghi')``. This is a convenience method, useful when the parent...
.. method:: Logger.getChild(suffix) Returns a logger which is a descendant to this logger, as determined by the suffix. Thus, ``logging.getLogger('abc').getChild('def.ghi')`` would return the same logger as would be returned by ``logging.getLogger('abc.def.ghi')``. This is a convenience method, useful when the parent...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9e61b5b0-608c-4bde-a0be-8c2c5e36089b
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,081
supabase-export-v2
4b87497fba22f9f1
``'{'`` or ``'$'`` for :ref:`printf-style | | | <old-string-formatting>`, | | | :meth:`str.format` or | | | :class:`string.Template` respectively. | | | Defaults to ``'%'``. | +--------------+---------------------------------------------+ | *level* | Set the root logger level to the specified | | | :ref:`level <leve...
trusted_official_docs
CPython Docs
``'{'`` or ``'$'`` for :ref:`printf-style | | | <old-string-formatting>`, | | | :meth:`str.format` or | | | :class:`string.Template` respectively. | | | Defaults to ``'%'``. | +--------------+---------------------------------------------+ | *level* | Set the root logger level to the specified | | | :ref:`level <leve...
``'{'`` or ``'$'`` for :ref:`printf-style | | | <old-string-formatting>`, | | | :meth:`str.format` or | | | :class:`string.Template` respectively. | | | Defaults to ``'%'``. | +--------------+---------------------------------------------+ | *level* | Set the root logger level to the specified | | | :ref:`level <leve...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9f99139e-e74e-448e-a5c6-16f9131096ff
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,029
supabase-export-v2
73ed08a2c50fa737
Return a callable which is used to create a :class:`LogRecord`. .. versionadded:: 3.2 This function has been provided, along with :func:`setLogRecordFactory`, to allow developers more control over how the :class:`LogRecord` representing a logging event is constructed.
trusted_official_docs
CPython Docs
Return a callable which is used to create a :class:`LogRecord`. .. versionadded:: 3.2 This function has been provided, along with :func:`setLogRecordFactory`, to allow developers more control over how the :class:`LogRecord` representing a logging event is constructed.
Return a callable which is used to create a :class:`LogRecord`. .. versionadded:: 3.2 This function has been provided, along with :func:`setLogRecordFactory`, to allow developers more control over how the :class:`LogRecord` representing a logging event is constructed.
python, official-docs, cpython, P0
Local_Trusted_Corpus
a01fc35d-e600-4dc7-bd96-efdb794f07ed
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,948
supabase-export-v2
c70c7429759a5b05
.. class:: Filter(name='') Returns an instance of the :class:`Filter` class. If *name* is specified, it names a logger which, together with its children, will have its events allowed through the filter. If *name* is the empty string, allows every event.
trusted_official_docs
CPython Docs
.. class:: Filter(name='') Returns an instance of the :class:`Filter` class. If *name* is specified, it names a logger which, together with its children, will have its events allowed through the filter. If *name* is the empty string, allows every event.
.. class:: Filter(name='') Returns an instance of the :class:`Filter` class. If *name* is specified, it names a logger which, together with its children, will have its events allowed through the filter. If *name* is the empty string, allows every event.
python, official-docs, cpython, P0
Local_Trusted_Corpus
a2a3bb93-a06f-4f8c-ac9f-7a33325ae84e
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,815
supabase-export-v2
c90286bf146df960
tuple (in the format returned by :func:`sys.exc_info`) or an exception instance is provided, it is used; otherwise, :func:`sys.exc_info` is called to get the exception information. The second optional keyword argument is *stack_info*, which defaults to ``False``. If true, stack information is added to the logging mes...
trusted_official_docs
CPython Docs
tuple (in the format returned by :func:`sys.exc_info`) or an exception instance is provided, it is used; otherwise, :func:`sys.exc_info` is called to get the exception information. The second optional keyword argument is *stack_info*, which defaults to ``False``. If true, stack information is added to the logging mes...
tuple (in the format returned by :func:`sys.exc_info`) or an exception instance is provided, it is used; otherwise, :func:`sys.exc_info` is called to get the exception information. The second optional keyword argument is *stack_info*, which defaults to ``False``. If true, stack information is added to the logging mes...
python, official-docs, cpython, P0
Local_Trusted_Corpus
a2ffdbc0-0e99-43e7-8c68-57396a86eb12
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,082
supabase-export-v2
a6c6383cf6c6df3f
*handlers* | If specified, this should be an iterable of | | | already created handlers to add to the root | | | logger. Any handlers which don't already | | | have a formatter set will be assigned the | | | default formatter created in this function. | | | Note that this argument is incompatible | | | with *filena...
trusted_official_docs
CPython Docs
*handlers* | If specified, this should be an iterable of | | | already created handlers to add to the root | | | logger. Any handlers which don't already | | | have a formatter set will be assigned the | | | default formatter created in this function. | | | Note that this argument is incompatible | | | with *filena...
*handlers* | If specified, this should be an iterable of | | | already created handlers to add to the root | | | logger. Any handlers which don't already | | | have a formatter set will be assigned the | | | default formatter created in this function. | | | Note that this argument is incompatible | | | with *filena...
python, official-docs, cpython, P0
Local_Trusted_Corpus
a313037f-880c-4646-b651-1974f722ba0a
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,007
supabase-export-v2
9b646bf17f76f04b
Delegates to the underlying :meth:`!_log` method on *logger*. In addition to the above, :class:`LoggerAdapter` supports the following methods of :class:`Logger`: :meth:`~Logger.debug`, :meth:`~Logger.info`, :meth:`~Logger.warning`, :meth:`~Logger.error`, :meth:`~Logger.exception`, :meth:`~Logger.critical`, :meth:`~L...
trusted_official_docs
CPython Docs
Delegates to the underlying :meth:`!_log` method on *logger*. In addition to the above, :class:`LoggerAdapter` supports the following methods of :class:`Logger`: :meth:`~Logger.debug`, :meth:`~Logger.info`, :meth:`~Logger.warning`, :meth:`~Logger.error`, :meth:`~Logger.exception`, :meth:`~Logger.critical`, :meth:`~L...
Delegates to the underlying :meth:`!_log` method on *logger*. In addition to the above, :class:`LoggerAdapter` supports the following methods of :class:`Logger`: :meth:`~Logger.debug`, :meth:`~Logger.info`, :meth:`~Logger.warning`, :meth:`~Logger.error`, :meth:`~Logger.exception`, :meth:`~Logger.critical`, :meth:`~L...
python, official-docs, cpython, P0
Local_Trusted_Corpus
a4b45bc1-5e62-43c8-a135-928824f9d968
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,916
supabase-export-v2
089476ed9cd05522
Responsible for converting a :class:`LogRecord` to an output string to be interpreted by a human or external system. :param fmt: A format string in the given *style* for the logged output as a whole. The possible mapping keys are drawn from the :class:`LogRecord` object's :ref:`logrecord-attributes`. If not specified...
trusted_official_docs
CPython Docs
Responsible for converting a :class:`LogRecord` to an output string to be interpreted by a human or external system. :param fmt: A format string in the given *style* for the logged output as a whole. The possible mapping keys are drawn from the :class:`LogRecord` object's :ref:`logrecord-attributes`. If not specified...
Responsible for converting a :class:`LogRecord` to an output string to be interpreted by a human or external system. :param fmt: A format string in the given *style* for the logged output as a whole. The possible mapping keys are drawn from the :class:`LogRecord` object's :ref:`logrecord-attributes`. If not specified...
python, official-docs, cpython, P0
Local_Trusted_Corpus
a525e357-8643-409d-b2a5-1da73f596b00
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,884
supabase-export-v2
1c49482588f779ce
less severe than *level* will be ignored. When a handler is created, the level is set to :const:`NOTSET` (which causes all messages to be processed). See :ref:`levels` for a list of levels.
trusted_official_docs
CPython Docs
less severe than *level* will be ignored. When a handler is created, the level is set to :const:`NOTSET` (which causes all messages to be processed). See :ref:`levels` for a list of levels.
less severe than *level* will be ignored. When a handler is created, the level is set to :const:`NOTSET` (which causes all messages to be processed). See :ref:`levels` for a list of levels.
python, official-docs, cpython, P0
Local_Trusted_Corpus
a55dc787-24f4-4c80-8fcf-7f24ed345858
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,784
supabase-export-v2
006f9bf7924bc921
If this evaluates to false, logging messages are not passed to the handlers of ancestor loggers. Spelling it out with an example: If the propagate attribute of the logger named ``A.B.C`` evaluates to true, any event logged to ``A.B.C`` via a method call such as ``logging.getLogger('A.B.C').error(...)`` will [subject ...
trusted_official_docs
CPython Docs
If this evaluates to false, logging messages are not passed to the handlers of ancestor loggers. Spelling it out with an example: If the propagate attribute of the logger named ``A.B.C`` evaluates to true, any event logged to ``A.B.C`` via a method call such as ``logging.getLogger('A.B.C').error(...)`` will [subject ...
If this evaluates to false, logging messages are not passed to the handlers of ancestor loggers. Spelling it out with an example: If the propagate attribute of the logger named ``A.B.C`` evaluates to true, any event logged to ``A.B.C`` via a method call such as ``logging.getLogger('A.B.C').error(...)`` will [subject ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
a5dd3752-bb4b-4a41-8f19-1f0d51784b97
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,934
supabase-export-v2
a80297a621cdb725
.. method:: formatException(exc_info) Formats the specified exception information (a standard exception tuple as returned by :func:`sys.exc_info`) as a string. This default implementation just uses :func:`traceback.print_exception`. The resulting string is returned.
trusted_official_docs
CPython Docs
.. method:: formatException(exc_info) Formats the specified exception information (a standard exception tuple as returned by :func:`sys.exc_info`) as a string. This default implementation just uses :func:`traceback.print_exception`. The resulting string is returned.
.. method:: formatException(exc_info) Formats the specified exception information (a standard exception tuple as returned by :func:`sys.exc_info`) as a string. This default implementation just uses :func:`traceback.print_exception`. The resulting string is returned.
python, official-docs, cpython, P0
Local_Trusted_Corpus
a619dc3b-69b3-4768-86bc-38e0e5b2ce4d
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,771
supabase-export-v2
e16ca1fa223ce367
but always through the module-level function ``logging.getLogger(name)``. Multiple calls to :func:`getLogger` with the same name will always return a reference to the same Logger object. The ``name`` is potentially a period-separated hierarchical value, like ``foo.bar.baz`` (though it could also be just plain ``foo``, ...
trusted_official_docs
CPython Docs
but always through the module-level function ``logging.getLogger(name)``. Multiple calls to :func:`getLogger` with the same name will always return a reference to the same Logger object. The ``name`` is potentially a period-separated hierarchical value, like ``foo.bar.baz`` (though it could also be just plain ``foo``, ...
but always through the module-level function ``logging.getLogger(name)``. Multiple calls to :func:`getLogger` with the same name will always return a reference to the same Logger object. The ``name`` is potentially a period-separated hierarchical value, like ``foo.bar.baz`` (though it could also be just plain ``foo``, ...
python, official-docs, cpython, P0
Local_Trusted_Corpus