Custom callback logger

33 views
Skip to first unread message

pignatel...@gmail.com

unread,
Dec 17, 2017, 7:53:32 AM12/17/17
to php-rdkafka
Hi, I have one question about the undocumented setLogger method. In the extension code the comment says "Sets the log callback", but if I try to set it in my application, PHP complains that "dKafka::setLogger() expects parameter 1 to be integer, object given". Is there any way I can set a custom logger instead of sending everything to stdout? I'm using v3.0.5.
Reply all
Reply to author
Forward
0 new messages