.. _logging-unsupported-format:

logging-unsupported-format / E1200
==================================

**Message emitted:**

Unsupported logging format character %r (%#02x) at index %d

**Description:**

*Used when an unsupported format character is used in a logging statement format string.*


**Correct code:**

.. literalinclude:: /data/messages/l/logging-unsupported-format/good.py
   :language: python

**Additional details:**

You can help us make the doc better `by contributing <https://github.com/PyCQA/pylint/issues/5953>`_ !


Created by the `logging <https://github.com/PyCQA/pylint/blob/main/pylint/checkers/logging.py>`__ checker.