11 A logging handler that sends log messages to the ERS system via Kafka.
12
13 Note 1: You need to have Kafka to use this correctly, to see the message in Grafana, you will need to have the full ERS stack running.
14 Note 2: IMPORTANT!! you MUST NOT use this handler on the root logger. Use it on a logger that you have created yourself (this is because the root logger is used by Kafka, and it creates a circular dependency).
15
16 Example:
17 ```python
18 import logging
19 from erskafka.ERSKafkaLogHandler import ERSKafkaLogHandler
20
21 logger = logging.getLogger("my_logger") # NOTE, THIS IS NOT THE ROOT LOGGER!!!
22 # logger = logging.getLogger() # FORBIDDEN!!! Will should raise an exception
68raiseERSKafkaLogHandlerOnRootLogger('To avoid all sorts of undesired behaviours this logger cannot be use on the root logger. Use logging.getLogger("some_name").addHandler(ERSKafkaLogHandler()) instead.')