RdKafka::setLogLevel

(PECL rdkafka >= 0.9.1)

RdKafka::setLogLevelSet log level

Warning

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

Description

public RdKafka::setLogLevel ( integer $level ) : void

Specifies the maximum logging level produced by internal kafka logging and debugging.

If the "debug" configuration property is set, the level is automatically adjusted to LOG_DEBUG.

Parameters

level (integer)

Log level. Can take any LOG_* constant (see the syslog function).

Return Values

Returns no value.