RdKafka::setLogger

(PECL rdkafka >= 0.9.1)

RdKafka::setLoggerChoose logger

Warning

This function has been DEPRECATED. Relying on this feature is highly discouraged.

Description

public RdKafka::setLogger ( integer $logger_id ) : void

Logs according to logger id

Parameters

logger_id (integer)

Can be either RD_KAFKA_PARTITION_UA (print to stderr), RD_KAFKA_LOG_SYSLOG (print to syslog), RD_KAFKA_LOG_SYSLOG_PRINT (both).

Return Values

Returns no values.