orangeqs.juice.service._logging#
Handlers and Utilities for Service Logging.
Module Contents#
Classes#
JuiceInfluxLoggingHandler instances dispatch logging events to influx. |
API#
- class orangeqs.juice.service._logging.JuiceInfluxLoggingHandler(*, bucket: str, service: str)#
Bases:
logging.HandlerJuiceInfluxLoggingHandler instances dispatch logging events to influx.
There is no need to set a Formatter. The raw input will be passed on to the influx write api.
- DEFAULT_LOG_RECORD_KEYS#
None
- emit(record: logging.LogRecord) None#
Emit a record via the influxDB WriteApi.