[rabbitmq-discuss] erlang client logging macros issue

Anton Lebedevich mabrek at gmail.com
Fri Jun 22 10:57:44 BST 2012


Hello!

I've got an issue with Erlang client library. For some reason client
header file defines several LOG_* macros.

http://hg.rabbitmq.com/rabbitmq-erlang-client/file/53620e911d13/include/amqp_client.hrl#l65

Since these names of logging macros are popular (I think many
applications define something like LOG_INFO) they came into conflict
with macros in my application.

Is it possible to hide this LOG_* macros from amqp_client.hrl to some
private header that won't be included in external applications?

Regards,
Anton Lebedevich.


More information about the rabbitmq-discuss mailing list