Skip to content
This repository was archived by the owner on Sep 23, 2024. It is now read-only.

Commit 0b2e874

Browse files
committed
log_cb in SerializingProducer and DeserializingConsumer docstring should be logger
1 parent ee84135 commit 0b2e874

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/confluent_kafka/deserializing_consumer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class DeserializingConsumer(_ConsumerImpl):
6868
| | | errors are typically to be considered informational |
6969
| | | since the client will automatically try to recover. |
7070
+-------------------------+---------------------+-----------------------------------------------------+
71-
| ``log_cb`` | ``logging.Handler`` | Logging handler to forward logs |
71+
| ``logger`` | ``logging.Handler`` | Logging handler to forward logs |
7272
+-------------------------+---------------------+-----------------------------------------------------+
7373
| | | Callable(str) |
7474
| | | |

src/confluent_kafka/serializing_producer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class SerializingProducer(_ProducerImpl):
7676
| | | errors are typically to be considered informational |
7777
| | | since the client will automatically try to recover. |
7878
+-------------------------+---------------------+-----------------------------------------------------+
79-
| ``log_cb`` | ``logging.Handler`` | Logging handler to forward logs |
79+
| ``logger`` | ``logging.Handler`` | Logging handler to forward logs |
8080
+-------------------------+---------------------+-----------------------------------------------------+
8181
| | | Callable(str) |
8282
| | | |

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy