Home
last modified time | relevance | path

Searched refs:LoggerAdapter (Results 1 – 25 of 26) sorted by relevance

12

/external/aws-sdk-java-v2/bundle-logging-bridge/src/test/java/software/amazon/awssdk/thirdparty/org/slf4j/impl/internal/
DLoggerAdapterTest.java45 LoggerAdapter adapter = new LoggerAdapter(mockLogger); in getName_delegatesCall()
52 LoggerAdapter loggerAdapter = new LoggerAdapter(mockLogger); in isTraceEnabled_delegatesCall()
63 LoggerAdapter loggerAdapter = new LoggerAdapter(mockLogger); in isDebugEnabled_delegatesCall()
75 LoggerAdapter loggerAdapter = new LoggerAdapter(mockLogger); in isInfoEnabled_delegatesCall()
86 LoggerAdapter loggerAdapter = new LoggerAdapter(mockLogger); in isWarnEnabled_delegatesCall()
97 LoggerAdapter loggerAdapter = new LoggerAdapter(mockLogger); in isErrorEnabled_delegatesCall()
109 LoggerAdapter adapter = new LoggerAdapter(mockLogger); in log_str_delegatesCall()
118 LoggerAdapter loggerAdapter = new LoggerAdapter(mockLogger); in log_marker_str_delegatesCall()
128 LoggerAdapter adapter = new LoggerAdapter(mockLogger); in log_str_object_delegatesCall()
138 LoggerAdapter adapter = new LoggerAdapter(mockLogger); in log_str_throwable_delegatesCall()
[all …]
/external/aws-sdk-java-v2/bundle-logging-bridge/src/main/java/software/amazon/awssdk/thirdparty/org/slf4j/impl/internal/
DILoggerFactoryAdapter.java35 return new LoggerAdapter(impl.getLogger(s)); in getLogger()
DLoggerAdapter.java26 public class LoggerAdapter implements Logger { class
29 public LoggerAdapter(org.slf4j.Logger impl) { in LoggerAdapter() method in LoggerAdapter
/external/python/bumble/bumble/pandora/
Dutils.py41 class BumbleServerLoggerAdapter(logging.LoggerAdapter): # type: ignore
/external/python/mobly/mobly/
Dlogger.py371 class PrefixLoggerAdapter(logging.LoggerAdapter):
/external/pandora/avatar/avatar/
Dpandora_client.py187 class PandoraClientLoggerAdapter(logging.LoggerAdapter): # type: ignore
/external/pigweed/pw_system/py/pw_system/
Ddevice.py73 logger: logging.Logger | logging.LoggerAdapter = DEFAULT_DEVICE_LOGGER, argument
/external/pigweed/pw_log/py/pw_log/
Dlog_decoder.py199 log: Log, logger: logging.Logger | logging.LoggerAdapter argument
/external/python/cpython3/Lib/test/
Dtest_genericalias.py19 from logging import LoggerAdapter, StreamHandler
126 LoggerAdapter, StreamHandler,
Dtest_logging.py201 INF = logging.LoggerAdapter(logging.getLogger("INF"), {})
5736 self.adapter = logging.LoggerAdapter(logger=self.logger, extra=None)
5879 self.adapter = logging.LoggerAdapter(logger=self.logger,
5895 self.adapter = logging.LoggerAdapter(logger=self.logger,
5908 self.adapter = logging.LoggerAdapter(logger=self.logger,
5919 class PrefixAdapter(logging.LoggerAdapter):
5935 class StyleAdapter(logging.LoggerAdapter):
/external/executorch/examples/qualcomm/qaihub_scripts/utils/
Dexport.py44 return logging.LoggerAdapter(logger, extra={"prefix": "UTILS.EXPORT"})
/external/python/cpython3/Doc/library/
Dlogging.rst1076 LoggerAdapter Objects
1079 :class:`LoggerAdapter` instances are used to conveniently pass contextual
1083 .. class:: LoggerAdapter(logger, extra, merge_extra=False)
1085 Returns an instance of :class:`LoggerAdapter` initialized with an
1088 individual log calls should be merged with the :class:`LoggerAdapter` extra.
1090 calls and only use the one of the :class:`LoggerAdapter` instance
1108 In addition to the above, :class:`LoggerAdapter` supports the following
1121 to :class:`LoggerAdapter`. These methods delegate to the underlying logger.
/external/python/mobly/mobly/controllers/
Dandroid_device.py1171 class AndroidDeviceLoggerAdapter(logging.LoggerAdapter):
/external/python/cpython3/Doc/howto/
Dlogging-cookbook.rst863 with logging event information is to use the :class:`LoggerAdapter` class.
870 When you create an instance of :class:`LoggerAdapter`, you pass it a
873 :class:`LoggerAdapter`, it delegates the call to the underlying instance of
876 :class:`LoggerAdapter`::
886 The :meth:`~LoggerAdapter.process` method of :class:`LoggerAdapter` is where the
900 you just need to subclass :class:`LoggerAdapter` and override
901 :meth:`~LoggerAdapter.process` to do what you need. Here is a simple example::
903 class CustomAdapter(logging.LoggerAdapter):
922 You don't need to pass an actual dict to a :class:`LoggerAdapter` - you could
943 'user' as in the ``LoggerAdapter`` example above. In that case, the same format
[all …]
/external/python/cpython3/Lib/logging/
D__init__.py1846 class LoggerAdapter(object): class
/external/python/cpython3/Misc/NEWS.d/
D3.6.4rc1.rst513 The ``manager`` property on LoggerAdapter objects is now properly settable.
D3.6.3rc1.rst299 LoggerAdapter objects can now be nested.
D3.13.0a4.rst1119 Fix an example for :class:`~logging.LoggerAdapter` in the Logging Cookbook.
D3.7.0a3.rst981 The ``manager`` property on LoggerAdapter objects is now properly settable.
D3.11.0b1.rst688 Add :meth:`~object.__class_getitem__` to :class:`logging.LoggerAdapter` and
D3.13.0a1.rst2727 Add *merge_extra* parameter/feature to :class:`logging.LoggerAdapter`
3874 ``LoggerAdapter.warn()`` methods and ``logging.warn()`` function. Deprecated
3876 method, :meth:`!logging.LoggerAdapter.warning` method and
D3.10.0a1.rst2169 The second argument (extra) of ``LoggerAdapter.__init__`` now defaults to
D3.7.0a1.rst1588 LoggerAdapter objects can now be nested.
/external/python/cpython3/Doc/whatsnew/
D2.7.rst535 * The :class:`~logging.LoggerAdapter` class gained an
/external/python/cpython3/Misc/
DHISTORY12038 - logging: Added hasHandlers() method to Logger and LoggerAdapter.
12045 - logging: Changed LoggerAdapter implementation internally, to make it easier to
12049 getEffectiveLevel, hasHandlers and setLevel were added to LoggerAdapter.
12050 LoggerAdapter was introduced into the unit tests for logging.

12